Problem: 'No scaling environment' error message

Charles Seman Charles.Seman at NOAA.GOV
Wed Mar 29 16:46:21 EST 2006


Witek,

From: http://grads.iges.org/grads/gadoc/script.html#commands

q <http://grads.iges.org/grads/gadoc/gradcomdquery.html> transform
coord1 coord2 -- Coordinate transformations

      where transform is one of:
      xy2w       XY coords to world coords
      xy2gr      XY coords to grid coords
      w2xy       world coords to XY coords
      w2gr       world coords to grid coords
      gr2w       grid coords to world coords
      gr2xy      grid coords to XY coords

XY coords are inches on the page (screen) where the page is 11x8.5
inches or 8.5x11 inches, depending on how GrADS was started.

World coords are lat, lon, lev, time or val, depending on what the
dimension environment is when the grid was displayed. Note that time is
displayed (and must be specified) in GrADS absolute date/time format.
val is the value coordinate for a 1-D plot (linegraph).

Grid coordinates are the i,j indices the grid being displayed. For
station data sets, grid and world coordinates are equivalent except for
the time dimension. Note that if you display a grid from a 'wrapped'
data set, the grid numbers may be out of range of the actual file grid
numbers. (A 'wrapped' data set is a data set that covers the earth in
the longitude direction. Wrapping takes place automatically). The
conversions are done consistently, but you may want to be sure you can
handle the wrapping case if your data set is global.

N.B. Coordinate transform queries are only valid after something has
been displayed, and the transformations apply only to the most recent
item that has been displayed.



I hope this helps,
Chuck

Witold Interewicz wrote:

>Hello,
>
>I'm trying to convert some geographical coordinates to virtual page coordinates.
>Unfortunately command
>'query gr2xy La Fi'
>returns
>'No scaling environment'
>error message.
>What is the proper way of use and context of calling for 'query gr2xy' command?
>
>Greetings
>Witek
>
>----------------------------------------------------
>Bezpieczeństwo dla wszystkich - gry i zabawy edukacyjne!
>http://klik.wp.pl/?adr=http%3A%2F%2Fadv.reklama.wp.pl%2Fas%2Fdroga.html&sid=711
>
>

--

********************************************************************
 Charles Seman                                charles.seman at noaa.gov
 U.S. Department of Commerce / NOAA / OAR
 Geophysical Fluid Dynamics Laboratory         voice: (609) 452-6547
 201 Forrestal Road                              fax: (609) 987-5063
 Princeton, NJ  08540-6649            http://www.gfdl.noaa.gov/~cjs/
********************************************************************

"The contents of this message are mine personally and do not reflect
any position of the Government or NOAA."

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20060329/8807d20d/attachment.html 


More information about the gradsusr mailing list