graimage problem

Added by takaya about 1 year ago

Dir Sir

I tried the script of grdimage below

psbasemap -R-30/30/-75/-50 -Jl0/-75/-70/-60/1:23000000 -Ba30 -X1.1 -P -K > test_ice.eps
grdimage out_14.grd -Cicecpt_new.cpt -R-30/30/-75/-50 -Jl -O >>test_ice.eps

grdimage: Your grid x's or longitudes appear to be outside the map region and will be skipped.

Howeve, below is the result of grdinfo of out_14.grd attached and the map looks within the range of out_14.grd,
Could you suggest how to solve the problem?

sh-3.2# grdinfo out_14.grd |less
out_14.grd: Title: ASI Ice Concentration, 20170115, res: 6.25000, AMSR2, Region: Antarctic
out_14.grd: Command: Thu Nov 16 16:48:39 2017: ncks -O -v ice_concentration out_12.nc out_14.nc
Thu Nov 16 16:48:39 2017: ncwa -O -a time out_11.nc out_12.nc
Thu Nov 16 16:48:38 2017: ncra -O -d time,0,0 out_10.nc out_11.nc
Thu Nov 16 16:48:38 2017: ncks -O --mk_rec_dmn time out_9.nc out_10.nc
Thu Nov 16 16:48:38 2017: ncks -O --fix_rec_d
out_14.grd: Remark:
out_14.grd: Gridline node registration used [Cartesian grid]
out_14.grd: Grid file format: nf = GMT netCDF format (32-bit float), COARDS, CF-1.5
out_14.grd: x_min: -90 x_max: -40 x_inc: 0 name: lat nx: 1264
out_14.grd: y_min: -180 y_max: 180 y_inc: 0 name: lon ny: 1328
out_14.grd: z_min: 0 z_max: 100 name: ASI Ice Concentration, 20170115, res: 6.25000, AMSR2, Region: Antarctic
out_14.grd: scale_factor: 1 add_offset: 0
out_14.grd: format: netCDF-4 chunk_size: 664,632 shuffle: off deflation_level: 0

Regards,

Takaya Namba

out_14.grd (6.42 MB)


Replies (2)

RE: graimage problem - Added by Paul about 1 year ago

Your latitudes says it reaches -180 which is invalid. You have mixed up longitude and latitude I think.

RE: graimage problem - Added by takaya about 1 year ago

Thank you for your suggestion.
Now I understand the problem.

(1-2/2)