[gradsusr] (no subject)

Davide Sacchetti davide.sacchetti at arpal.gov.it
Thu Jul 26 08:29:14 EDT 2018


lterp works well, you have only to provide a destination grid (then
open a destination grid descriptor), lterp uses bilinear interpolation

trying to summarize:
 * open 200 files (1 file = 1 specific time)
 * start loop over file using set dfile
 * dump on a new file regridded data using set gxout fwrite (are
   formats are available but fwrite is the easiest method)
 * end loop
 * create a ctl for the new grads.fwrite you just created, that's all.
   If you use lterp you can find hints on how to create the ctl from
   the destination grid descriptor

If you follow these steps you don't need to increase memory, so my
suggestion is to create a new regridded file.

Bye
Davide

On Thu, 2018-07-26 at 19:49 +0800, Joseph Basconcillo wrote:
> Hi, all:
> 
> I have 200 daily netcdf files. I want to regrid .nc files to 0.17
> degrees but original 2.5 degrees.
> 
> I have two concerns:
> 
> 1. How do I loop through the regridding process using bilinear
> method? Can I lterp() or just re()?
> 2. How can I increase memory size allocation?
> 
> Thank you.
> 
> Yours,
> Joseph Basconcillo
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr



More information about the gradsusr mailing list