[gradsusr] how to convert netcdf file to grads data file

Kishore Babu kishoreragi at gmail.com
Wed Jul 25 04:36:12 EDT 2012


Dear Jeff and all,

My file has 7 variables in 4 dimensions. the ncdump -h file is as below

dimensions:
lat = 64 ;
lon = 128 ;
lev = 15 ;
time = UNLIMITED ; // (366 currently)
variables:
float lat(lat) ;
lat:units = "degrees_north" ;
float lon(lon) ;
lon:units = "degrees_east" ;
double lev(lev) ;
lev:axis = "Z" ;
lev:long_name = "pressure" ;
lev:standard_name = "pressure" ;
lev:units = "hPa" ;
double time(time) ;
time:calendar = "proleptic_gregorian" ;
time:units = "days since 1996-01-01 00:00:00" ;
time:base_date = 1996, 1, 1, 0 ;
float t(time, lev, lat, lon) ;
t:long_name = "air_temperature" ;
t:standard_name = "air_temperature" ;
t:units = "K" ;
t:code = 130 ;
t:grid_type = "gaussian" ;
float u(time, lev, lat, lon) ;
u:long_name = "eastward_wind" ;
u:standard_name = "eastward_wind" ;
u:units = "m s-1" ;
u:code = 131 ;
u:grid_type = "gaussian" ;
float v(time, lev, lat, lon) ;
v:long_name = "northward_wind" ;
v:standard_name = "northward_wind" ;
v:units = "m s-1" ;
v:code = 132 ;
v:grid_type = "gaussian" ;
float q(time, lev, lat, lon) ;
q:long_name = "specific_humidity" ;
q:standard_name = "specific_humidity" ;
q:units = "1" ;
q:code = 133 ;
q:grid_type = "gaussian" ;
float ps(time, lat, lon) ;
ps:long_name = "surface_air_pressure" ;
ps:standard_name = "surface_air_pressure" ;
ps:code = 134 ;
ps:grid_type = "gaussian" ;
ps:units = "Pa" ;
float w(time, lev, lat, lon) ;
w:long_name = "vertical_air_velocity" ;
w:standard_name = "vertical_air_velocity" ;
w:units = "Pa s-1" ;
w:code = 135 ;
w:grid_type = "gaussian" ;
float z(time, lev, lat, lon) ;
z:long_name = "geopotential_height" ;
z:standard_name = "geopotential_height" ;
z:units = "m" ;
z:code = 156 ;
z:grid_type = "gaussian" ;

Could you please provide me a fortran code for the above variables as you
have given clues to write the code? I am quite new to writing a fortran
code.

Thank you,

Sincerely,

Kishore



On Wed, Jul 25, 2012 at 4:53 AM, chinh ta huu <chinhth2010 at gmail.com> wrote:

> Hi Babu
>
> + You can consult to attached file
> Good luck
>
> Chinh
> Office: 84-43-824-4917
> Email: chinhth2010 at gmail.com
> Website: http://vn.myblog.yahoo.com/chinhth2005/
> Website: http://bestknowledge-chinhth.blogspot.com/
> Website: http://anhcuoidep.vn
>
>
> _______________________________________________
> 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/20120725/3f435557/attachment-0003.html 


More information about the gradsusr mailing list