hi,
i met a strange problem, i have a nc file, whose information is as following with ncdump:
*********************************************
netcdf cruncep_lwdown_1901 {
dimensions:
time_counter = UNLIMITED ; // (1460 currently)
latitude = 360 ;
longitude = 720 ;
variables:
float Incoming_Long_Wave_Radiation(time_counter, latitude, longitude) ;
Incoming_Long_Wave_Radiation:title = "Incoming_Long_Wave_Radiation" ;
Incoming_Long_Wave_Radiation:units = "W/m2" ;
float latitude(latitude) ;
latitude:units = "Degrees" ;
latitude:title = "Latitude" ;
float longitude(longitude) ;
longitude:units = "Degrees" ;
longitude:title = "Longitude" ;
long mask(latitude, longitude) ;
// global attributes:
:file_name = "cruncep_lwdown_1901_2008.nc" ;
:model_name = "STOMATE-SECHIBA-LPJ" ;
:history = "Tue Jan 19 15:10:21 2010: ncks -d time_counter,0,1459 cruncep_lwdown_1901_2008.nc cruncep_lwdown_1901.nc" ;
}
*********************************************
from the above presentation, the "time" dimension is not defined with normal "time",then in NCL:
ff=addfile("cruncep_lwdown_1901.nc","r")
i can print(ff->latitude) and print(ff->longitude), but i can't print(ff->time_counter), which showed the follows error :
******************************************
ncl 9> print(ff->time_counter)
fatal:Either file (ff) isn't defined or variable (time_counter) is not a variable in the file
fatal:Execute: Error occurred at or near line 9
******************************************
anybody can give me some advice about how to show the time dimension value ?
thanks
dyjbean
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sat Aug 4 03:05:19 2012
This archive was generated by hypermail 2.1.8 : Wed Aug 15 2012 - 08:12:08 MDT