[gradsusr] Error Downloading and graphic data with GrAs Data Server
Jorge OTINIANO Rodriguez
jotinianor at unmsm.edu.pe
Tue Jun 11 14:22:02 EDT 2013
Hello to all users GrADS
2.0.a9 GrADS version I use with Linux OpenSuse 13.1 - 32 bit
Using GrADS Data Server get data from the GFS model
http://nomads.ncep.noaa.gov:9090/dods/gfs/ .... and graphics without errors,
but the same procedure for the graph data variables
http://nomads.ncep.noaa.gov:9090/dods/rtofs/rtofs_global20130611/rtofs_glo_2ds_nowcast_3hrly_prog
, does not work, it may be an error in the ctl or the extraction code,
appreciate
the help
scrip extraction gs ******
'reinit'
day = 10, month = 06, year = 2013
'sdfopen
http://nomads.ncep.noaa.gov:9090/dods/rtofs/rtofs_global20130610/rtofs_glo_2ds_nowcast_3hrly_prog
'
'set and 817 1105', 'set x 2351 2615'
'set fwrite gxout'
'set fwrite /home/SMOADO/Model/Oceano/RTOFS/Data/RTOFS_peru.bin'
t = 1, tp = 0; tmaxp = 9
while (t <= tmaxp)
'set t' t
say 'u_vel, v_vel, SST, salinity VALID'% day% month% year '+' tp 'hrs'
'd u_velocity'
'd v_velocity'
'd sst'
'd sss'
t = t +1, tp = tp +3
endwhile
'disable fwrite'
'quit'
ctl file *****
DSET /home/SMOADO/Model/Oceano/RTOFS/Data/RTOFS_peru.bin
LITTLE_ENDIAN options
undef 1.26765E30
title GFS_DODS-NOMADS / June 2013 - JOR
xdef 265 linear 270.06883 0.08333
ydef 289 linear -21.91939 0.08333
zdef 1 linear 1 1
tdef 9 linear 00z10jun2013 3hrs
vars 4
u 0 99 u_velocity surface current
v 0 99 v_velocity surface current
tsm 0 99 sea surface temperature
sst 0 99 sea surface salinity
endvars
Operacion con Grads
ga-> open /home/SMOADO/Model/Oceano/RTOFS/ctl/RTOFS_ctlPeru.ctl
Scanning description file:
/home/SMOADO/Model/Oceano/RTOFS/ctl/RTOFS_ctlPeru.ctl
Data file /home/SMOADO/Model/Oceano/RTOFS/Data/RTOFS_peru.bin is open as
file 1
LON set to 270.069 292.068
LAT set to -21.9194 2.07965
LEV set to 1 1
Time values set: 2013:6:10:0 2013:6:10:0
E set to 1 1
ga-> q file
File 1 : GFS_DODS-NOMADS / June 2013 - JOR
Descriptor: /home/SMOADO/Model/Oceano/RTOFS/ctl/RTOFS_ctlPeru.ctl
Binary: /home/SMOADO/Model/Oceano/RTOFS/Data/RTOFS_peru.bin
Type = Gridded
Xsize = 265 Ysize = 289 Zsize = 1 Tsize = 9 Esize = 1
Number of Variables = 4
u 0 99 u_velocity current superficial
v 0 99 v_velocity current superficial
tsm 0 99 temperatura superficial del mar
sst 0 99 salinidad superficial del mar
ga-> d tsm
Constant field. Value = -9.99e+08
ga-> d mag(u,v)
Constant field. Value = 1.4128e+09
ga->
......... SCREEN IN RED ????
Best Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130611/e54510b2/attachment-0003.html
More information about the gradsusr
mailing list