[gradsusr] write 4-d data using fwrite in grads

saeed bayat saeedbayat7276 at gmail.com
Tue Jun 28 15:03:28 EDT 2011


Hi Dhruba,
You can use CDO for extract desire parameters, levels and time from nc
file(in linux OS)
These are commands(ifile: input file, ofile: output file):
cdo selparam ifile ofile------------> for select parameter by identifier
cdo selname ifile ofile-------------> for select parameter by name
cdo sellevel ifile ofile---------------> for select level
cdo seltime ifile ofile---------------> for select time
cdo selday ifile ofile-----------------> for select day

Regards
Saeed Bayat
M.A Student of Climatology
Department of Geography
Ferdowsi University of Mashhad

On Tue, Jun 28, 2011 at 9:28 PM, DHRUBA
<dhrubajyoti at coral.iitkgp.ernet.in>wrote:

> How to extract 4-d binary file from nedcdf file in grads?
> the nc file has both the dimension of level(z) and time(t). I want to get
> data for a specific time range for all levels for all lon and lat. How to do
> that?
> When I am giving 'set z 1 17' and 'set t 10 200' (for eg.)...it is showing
> too many variables to vary.
>
> What to do??
>
> --
> With best regards,
>
> Dhruba.
>
> ****************************************************************
> Dhrubajyoti Samanta
> PhD Scholar
> Centre for Oceans, Rivers, Atmosphere and Land Sciences (CORAL)
> Indian Institute of Technology Kharagpur
> Kharagpur, West Bengal
> India - 721 302
> Ph.: +91 99329 08496 (Mob)
>     +91 3222-281291 (Lab)
> *****************************************************************
> _______________________________________________
> 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/20110628/793eba3d/attachment-0003.html 


More information about the gradsusr mailing list