[gradsusr] gradsusr Digest, Vol 15, Issue 32

Arlindo da Silva dasilva at alum.mit.edu
Wed May 25 23:04:02 EDT 2011


On Wed, May 25, 2011 at 11:24 AM, Mubashar Dogar <mubashardogar at gmail.com>wrote:

> Dear GraDS users,
>
> I want to use lats4d function for regridding purpose (1.5*1.5 model output
> to NCEP 2.5 * 2.5 degree). My model NETCDF have 365 day calendar. I create a
> CTL to open my model NETCDF data. Now I have used the following command for
> regridding purpose and got the message that CTL file is not opened as
> follows. Please suggest me the possible solution for this. ALso please tell
> me that time steps in both the model and reference NCEP file (if I just
> mention ncep2.5) need to be same or not?
>
> __________________________________________________________________________________
> lats4d -i atmos.00060401.ctl -de outfile -func
> re(var,144,linear,0,2.5,73,linear,-90,2.5,bl)'
>

You are missing the "dimension environment" file, option -de. This is not
the name of the output file name, but the name of an existing file (or fake
template ctl) at the output grid. Please consult the lats4d documentation
for details:

ga-> lats4d -h

   Arlindo


> No hardcopy metafile open
> All files closed; all defined objects released;
> All GrADS attributes have been reinitialized
> gaopnc error: nc_open failed to open file atmos.00060401.ctl
> read_metadata: gaopnc failed
> gadsdf: Couldn't ingest SDF metadata.
> lats4d: cannot open file " atmos.00060401.ctl"
> lats4d: error creating coards file grads.lats.nc
>
>
>
> Thanks,
>
>
> Mubashar
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
>
>


-- 
Arlindo da Silva
dasilva at alum.mit.edu
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20110525/c0c83dc4/attachment-0003.html 


More information about the gradsusr mailing list