SDF file has no discernable X coordinate

Donata Giglio donylilium22 at YAHOO.COM
Mon Nov 26 03:36:09 EST 2007


Hi!
you should use

xdfopen file.sdf

to edit file.sdf visit this page
http://www.iges.org/grads/gadoc/SDFdescriptorfile.htmlit
tells how to write a descriptor file for netcdf files.

bye,
do

--- Remi Meynadier <remi.meynadier at AERO.JUSSIEU.FR> ha
scritto:

> Hi folks
>
> i want to open a netcdf file (see the ncdump -h
> below) but with no success :
>
> i've tried :
>
> -sdfopen myfile.nc :
> GRads answered :
> Scanning self-describing file:
> ISBA_Evap_exp2_2006.nc
> SDF file has no discernable X coordinate.
>
> - i've created a ddf file (see below)
> GRads:
> "Scanning description file:  isba.ddf
> NetCDF Error (nc_open): Unable to open file"
>
> Does someone have an idea of what's going on ?
>
> Thanks in advance
> Remi
>
>
>
> netcdf ISBA_Evap_exp2_2006 {
> dimensions:
>         lon = 101 ;
>         lat = 51 ;
>         z = 3 ;
>         time = UNLIMITED ; // (365 currently)
> variables:
>         float lon(lon) ;
>                 lon:valid_range = -20.f, 30.f ;
>                 lon:associate = "lon" ;
>                 lon:units = "degrees East" ;
>                 lon:long_name = "lon" ;
>         float lat(lat) ;
>                 lat:valid_range = -5.f, 20.f ;
>                 lat:associate = "lat" ;
>                 lat:units = "degrees North" ;
>                 lat:long_name = "lat" ;
>         int z(z) ;
>                 z:valid_range = 1, 3 ;
>                 z:associate = "z" ;
>                 z:units = "-" ;
>                 z:long_name = "Level Index
> (increasing below surface)" ;
>         int time(time) ;
>                 time:units = "timesteps since
> 2006-01-01 00:00:00" ;
>                 time:title = "Time steps" ;
>                 time:tstep_sec = 86400.f ;
>                 time:long_name = "Time step axis" ;
>                 time:time_origin = " 2006-JAN-01
> 00:00:00" ;
>         float Evap(time, lat, lon) ;
>                 Evap:associate = "time lat lon" ;
>                 Evap:units = "kg m-2 day-1" ;
>                 Evap:long_name = "Total
> Evapotranspiration" ;
>                 Evap:missing_value = 1.e+20f ;
>
> // global attributes:
>                 :Conventions = "COARDS" ;
>                 :filename = "ISBA_Evap_exp2_2006.nc"
> ;
>                 :CreatedBy = "Aaron Boone at CNRM
> Meteo-France" ;
>                 :title = "ISBA results for ALMIP" ;
>                 :project = "ALMIP-PhaseI" ;
>                 :production = "Transfered to the
> single file on 20071120
> at 155716.264" ;
> }
>
> ddf file
>
> dset ISBA_EVAP_exp2_2006.nc
> dtype netcdf
> undef -1e15 missing_value
> unpack scale_factor add_offset
> title evaporation daily cumul
> xdef 101 linear  -20.  0.5
> ydef 51 linear  -5  0.5
> zdef 3 linear 1 1
> tdef 365 linear 00z01jan2006 1dy
> vars 1
> evap 1 t,x,y evaporation cumul
> endvars
>



      ___________________________________
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html



More information about the gradsusr mailing list