[gradsusr] GFS time interpolation

Jeff Duda jeffduda319 at gmail.com
Wed Aug 19 14:54:38 EDT 2015


You can linearly interpolate in time right in Grads...no special scripts
needed. Just derive a formula like you would for a 1-D line as in algebra.
You could use point-slope form or slope-intercept form. In this case, the
x-coordinate is time and the y-coordinate is the field you wish to
interpolate.

Jeff Duda

On Wed, Aug 19, 2015 at 1:39 PM, Oriol Ciurana <uri at uriens.cat> wrote:

> Thank you Davide. I'm looking for a solution using WGRIB/WGRIB2 or CDO or
> something to modify (interpolate) directly the grib file, but if it is not
> possible your solution is valid for me too.
> Cheers,
>
> Oriol
>
> 2015-08-19 12:42 GMT+02:00 Davide Sacchetti <davide.sacchetti at arpal.gov.it
> >:
>
>> try attacched script
>> use:
>> open a file with 1h grid
>> set time to something in 1h grid
>> open your 3h grid
>> set dfile 3h grid
>> run the script: the only parameter is the field of 3h grid you want to
>> interpolate (ex.: interp_time mslp)
>> now defined variable 'interp' is an interpolation of 3h grid into 1h grid
>>
>> it should work
>> bye bye
>> Davide
>>
>>
>> Oriol Ciurana <uri at uriens.cat> , 8/19/2015 11:13 AM:
>>
>> Any idea on how to achieve this? Maybe using some CDO operators?
>> Any help would be apreciated.
>>
>> Oriol
>>
>> 2015-08-17 11:38 GMT+02:00 Oriol Ciurana <uri at uriens.cat>:
>>
>> Hello,
>>
>> I want to interpolate 3h GFS grib files to 1h grib files in order to get
>> hourly animations.
>> Does anyone know how to do it?
>>
>> One option is writting a GrADS script to get the intermediate values by
>> manually interpolation, but I'm wondering if is there any way to get
>> directly an hourly interpolated grib, for example using WGRIB/WGRIB2 tools
>> or something like this.
>>
>> Thanks in advance,
>>
>> Oriol Ciurana
>>
>>
>>
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>> _______________________________________________
>> gradsusr mailing list
>> gradsusr at gradsusr.org
>> http://gradsusr.org/mailman/listinfo/gradsusr
>>
>>
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Jeff Duda
Graduate research assistant
University of Oklahoma School of Meteorology
Center for Analysis and Prediction of Storms
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20150819/469fde9d/attachment.html 


More information about the gradsusr mailing list