[Thread Prev][Thread Next][Index]

Re: 答复: about UWM/coads data

Hi again,
I'm afraid I didn't look closely enough at the shape of
your data.  To use the 3-argument shade command,
the data must be 2-dimensional. This kind of data is
used to describe various map projections or other kinds
of grids.  Do the latitude and longitude values describe
any kind of grid?  Or are they scattered in space?

If they are scattered values, you might use one of the
"gridding scattered data" functions, scat2gridgauss_xy
or scat2gridlaplace_xy.


weiqwang wrote:

 Thank you for your reply. But when yes? SHADE clm[L=2], lat, lon**error: dimensions improperly specified: must be a 2D region. why?
·¢¼þÈË: Ansley Manke [mailto:ansley@pmel.noaa.gov]
·¢ËÍʱ¼ä: 2002Äê10ÔÂ24ÈÕ 2:03
ÊÕ¼þÈË: weiqwang
³­ËÍ: ferret_users@ferret.wrc.noaa.gov
Ö÷Ìâ: Re: about UWM/coads data
There is a way to do this, which wasn't available in 1996.
Starting with Ferret version 4.9 or so, we are able to plot
fields using "curvilinear coordinates".  One can do, for example,

yes? SHADE clm[L=2], lat, lon

See the descriptions of this in the Users Guide, under "curvilinear
coordinates".  There are curvilinear versions of the SHADE,
CONTOUR, FILL, and VECTOR commands.

Ansley Manke

weiqwang wrote:

Dear ferreters,

      I encounter the old proble which had been  in Ferret mail archives
on 1996. But no reply in it.

yes? use sst.nc
yes? show data
>      currently SET data sets:
>     1> ./sst.nc  (default)
>  name     title                                       I         J
K              L
>  LAT      latitude of nth point            1:42164   1:1       1:1
>  LON      longitude of nth point           1:42164   1:1       1:1
>  CLM      1945-89 climatology for each mo  1:42164   1:12      1:1

How can I  shade/contour/fill this in ferret like grid data?

 Any suggestions would be appreciated.

Many thanks

Ph D, Weiqiang Wang
LED, South China Sea Inst. of Oceanography
Chinese Academy of Sciences
164 West Xingang Rd., Guangzhou, 510301
P. R China
Phone: 8620-89023199(Office)
Email: weiqwang@scsio.ac.cn

Ansley Manke  Pacific Marine Environmental Laboratory  Seattle WA  (206)526-6246

[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement