[gradsusr] lterp problems

Travis Wilson - NOAA Federal travis.wilson at noaa.gov
Fri Oct 7 16:25:44 EDT 2016


Hi Jeff,

Thanks for the response, I don't think lterp uses the time, or anything
other than the grid from the second control file.  Anyways, I tried out
your suggestion and then discovered I had a file called foo.bin in that
same directory....it was screwing up lterp.  I deleted the file and
everything works!

Thanks again,
Travis

On Fri, Oct 7, 2016 at 11:55 AM, Jeff Duda <jeffduda319 at gmail.com> wrote:

> Travis,
> I suspect the discrepancy in the TDEF entries between your control files
> may be responsible for the behavior you're seeing. You'll want to make sure
> to adjust the time settings so that both arguments of lterp() are valid at
> the same time.
>
> Jeff Duda
>
> On Fri, Oct 7, 2016 at 1:34 PM, Travis Wilson - NOAA Federal <
> travis.wilson at noaa.gov> wrote:
>
>> Hi,
>>
>> I am trying to use lterp on a 1km radar grib file (radar.latlon.c3) and a
>> dummy ctl file and am having grid coordinate problems (see below).  What is
>> strange is that I've used this method on other files (like the HRRR) and do
>> not run into this problems.
>>
>> Any ideas what I am doing wrong?   I have attached the files I am working
>> with.
>>
>> 'open radar.latlon.c3.ctl'
>> 'open radar.latlon.c3dummy.ctl'
>> 'd lterp(brefl1_1,foo.2)'
>> Data Request Error: Invalid grid coordinates
>>   World coordinates convert to non-integer  grid coordinates
>>     Variable = foo.2  Dimension = 3
>> Error from LTERP: Failed to evaluate 2nd expression
>> Operation Error:  Error from lterp function
>>   Error ocurred at column 1
>> DISPLAY error:  Invalid expression
>>   Expression = lterp(brefl1_1,foo.2)
>>
>> Thanks,
>> Travis
>>
>>
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>
>
> --
> Jeff Duda
> Post-doctoral research associate
> University of Oklahoma School of Meteorology
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20161007/622aa30a/attachment.html 


More information about the gradsusr mailing list