[Thread Prev][Thread Next][Index]

ERROR Y coordinate field



Hi,

I need some help on a little code, I really don't understand why I've this error "**ERROR: all data have same value: Y coordinate field" :


the script:
-----------
use out.nc
repeat/l=2:3 ( \
fill/i=3:28/j=5:35/axes=1,1,1,1/line/key rain + 2, longicrs, latitcrs ; \
go gg ; \
frame/file=toto`l`.gif )
-----------


the file gg.jnl:
-----------
set data/save
set grid/save
define axis/x/x=1:150000:1 longmax
define grid/x=longmax biggrid
columns/skip=1/grid=biggrid coastline_france.txt
set var/bad=-9999 v1
set var/bad=-9999 v2
plot/over/nolabels/noaxis/vs/line=14 v1, v2
set data/restore
set grid/restore
-----------


ncdump -h out.nc :
-----------
netcdf out {
dimensions:
time = 97 ;
i_cross = 39 ;
j_cross = 30 ;
pressure = 22 ;
variables:
float time(time) ;
time:units = "minutes since 2005-01-11 00:00:00" ;
time:long_name = "time" ;
float latitcrs(i_cross, j_cross) ;
latitcrs:units = "degrees" ;
latitcrs:long_name = "LATITUDE (SOUTH NEGATIVE)" ;
float longicrs(i_cross, j_cross) ;
longicrs:units = "degrees" ;
longicrs:long_name = "LONGITUDE (WEST NEGATIVE)" ;
float rain(time, i_cross, j_cross) ;
rain:units = "cm" ;
rain:long_name = "ACCUMULATED NONCONVECTIVE PRECIPITATION"
;
float vnorm(time, i_cross, j_cross) ;
vnorm:units = "m s{-1}" ;
vnorm:long_name = "10-meter Speed Norm" ;
float tau(time, i_cross, j_cross) ;
tau:units = "-" ;
tau:long_name = "Optical Thickness" ;
}
-----------


The error happens when l=3, on the second loop of the repeat.

If I remove the biggrid use in the gg.jnl file, it works ! Why ?

I've also seen the same error with X on another similar code...


Thanks in advance for help,

Julien


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement