Re: mm52ncdf plot

From: Sylvia Murphy (murphys AT cgd.ucar.edu)
Date: Wed Nov 03 2004 - 09:32:45 MST


ben,
there is no plot attached to your message.

how you zoom in on a map is dependent upon which projection you choose.

For a cylendrical equadistant projection, you want to use
mpMinLatF = #
etc

for mercator and lambert conformal projections, you should use the corners
method.

what projection are you plotting?

when you say it was not correct, can you be more specific?

sylvia

On Tue, 2 Nov 2004, Benjamin Lamptey wrote:

> Hello,
> The examples on the following website which illustrates how to plot
> data with 2D lat/lon does not have an example on plotting a subset
>
> http://www.cgd.ucar.edu/csm/support/CSM_Graphics/popscal.shtml
>
> I tried
> res@mpMinLatF = minlat
> res@mpMaxLatF = maxlat
> res@mpMinLonF = minlon
> res@mpMaxLonF = maxlon
>
> where minlat,maxlat,minlon,maxlon are defined. But did not get a
> satisfactory plot (see plot attached).
>
> I do not want to use something like
> res@mpLimitMode = "Corners" ; choose range of map
> res@mpLeftCornerLatF = lat2d(0,0)
> res@mpLeftCornerLonF = lon2d(0,0)
> res@mpRightCornerLatF = lat2d(nlon-1,nlat-1)
> res@mpRightCornerLonF = lon2d(nlon-1,nlat-1)
>
> used for making plots of Lambert Confromal projection that I used when
> I read my data from a binary file because the purpose of converting
> the binary data files to netcdf will be defeated.
>
> The reason why I am converting the binary files to netcdf is because I
> shall have to use one NCL script to make a panel plot of data from
> different files; one file is netcdf, the 2nd file has Lambert Conformal
> Project (binary file) and the third file has Mercator projection (binary).
>
> I shall appreciate any ideas.
>
> I also want to avoid having to set different plotting resources for the
> different datasets if possible. If not, then that will be my last resort
> in which case I do not need to convert my binary files into netcdf,
> correct?
>
> Thanks
> Ben
>
> --
>
>
> Benjamin L. Lamptey Phone: (814) 865-9911 (office)
> Pennstate (EMS Environment Institute) (814) 237-8193 (home)
> 2217 Earth-Engineering Sciences Bldg Fax : (814) 865-3191
> University Park, PA 16802 WWW:http://www.essc.psu.edu/~lamptey
>
>
>
>

******************************************************
Sylvia Murphy EML: murphys@ucar.edu
NCAR CGD/CSEG PHN: 303-497-1720
1850 Table Mesa Drive FAX: 303-497-1333
Boulder CO 80305

WEB: http://www.cgd.ucar.edu/csm/support/
     http://www.cgd.ucar.edu/csm/support/CSM_Graphics/
******************************************************

_______________________________________________
ncl-talk mailing list
ncl-talk@ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk



This archive was generated by hypermail 2b29 : Wed Nov 03 2004 - 10:47:26 MST