[Thread Prev][Thread Next][Index]

Re: [ferret_users] Changing grid units



Hi -
You could leave the grid as is, and set the format of tic labels to show enough digits, for instance

shade/set var
ppl xfor (f9.0)
ppl yfor (f9.0)
ppl shade

or using scientific notation

shade/set var
ppl xfor (e10.2)
ppl yfor (e10.2)
ppl shade

You might need to make bigger margins to make room for these labels (see the script "go margins")

The other option would be to redefine your axes in terms of Km and regrid the variables to the new axes. See "DEFINE AXIS/FROM_DATA" where for instance the X coordinates converted to Km would be,

x[gx=xgrid]/1000

-Ansley

On 9/26/2011 11:58 AM, Ge.Peng@xxxxxxxx wrote:
My data grid is polar_stereographic projection in meters:

yes? sho grid
  Default grid for DEFINE VARIABLE is ABSTRACT
  Last successful data access was on grid GKV2
     GRID GKV2
  name       axis              # pts   start                end
  XGRID     X (meters)         304 r   -3837500             3737500
  YGRID     Y (meters)         448 r   -5337500             5837500
  normal    Z
  TIME1     TIME                 1 r   30-SEP-2007 00:00    30-SEP-2007 00:00


Too long for the x and y tick labels for the negative numbers.

How do I convert the X and Y axis from meter to km?

Thanks,

--- Peng


[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement