Converting outputs to netcdf
krishnamohan
krishmet at GMAIL.COM
Wed Feb 10 23:20:07 EST 2010
Hai Luis,
You can use grads sdfwrite function for writing netcdf output. The
sdfwrite command works with GrADS version 2.0.a3 (or higher). The example as
given in GrADS documentation index is
open global_forecast.ctl
set lon -111.3 -103.8
set lat 40.9 45.0
set lev 1000 10
set t 1 last
set e 1 last
define precip = ptot
set sdfwrite wyoming_precip.nc
sdfwrite precip
this will write output to the netcdf file wyoming_precip.nc
Krishnamohan.K.S
Junior Research Fellow
Department Of Atmospheric Sciences
Cochin University of Science and Technology
Cochin,India
On Thu, Feb 11, 2010 at 1:38 AM, luis blacutt <luis.blacutt at gmail.com>wrote:
> Dear grads users,
>
> I would like to save the display directly to netcdf. I'm already aware that
> there is a way to convert to a txt file, through the fprintf function, or
> the set gxout print command.
>
> Regards
> Luis
>
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100211/2d70fb6b/attachment.html
More information about the gradsusr
mailing list