[Thread Prev][Thread Next][Index]

X-Y Dimension resolution in Ferret?

I'm getting an internal server error when attempting to display a dataset with LAS and Ferret. GenericLAS_debug.txt reports:
 **ERROR: illegal limits: "LWSCP07" is not in the range X=164W:164E(524)
          Axis extremes are X=179.8E(-180.2):179.8W
I get this particular message when I shrink the window somewhat from the full region. This is the error message I get for the full region:
 **ERROR: dimensions improperly specified: must be a 2D region
          shade/levels=64/set lwscp07
What's unusual about this grid is that it has 361 rows and 721 columns, but the grid spacing is still half-degree (you would expect 360 rows by 720 columns). I get an image without error if I change the grid spacing so that it is 0.4993 (instead of 0.5), i.e., so that a ncdump -c shows:
 slon = -180, -179.5007, -179.0014, -178.5021, -178.0028, -177.5035,
    -177.0042, -176.5049, -176.0056, -175.5062, -175.0069, -174.5076,
    -174.0083, -173.509, -173.0097, -172.5104, -172.0111, -171.5118,
But what I'm trying to represent is a grid with corner of cell registration and not center of cell registration, hence the grid spacing of 0.5.

Incidentally, ncBrowse displays the image just fine with the 0.5 grid spacing.

Thanks in advance,

Mark Ohrenschall

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement