Hi all,
I'm attempting to use the following function in NCL:
"gsn_csm_vector_scalar_map", and plot using a Lambert Conformal
grid. I've defined all the necessary variables:
cnres@mpProjection="LambertConformal"
cnres@mpLambertParallel1F=ltrulat1
cnres@mpLambertParallel2F=ltrulat2
cnres@mpLambertMeridianF=ltrulon
cnres@mpLimitMode = "Corners"
cnres@mpLeftCornerLonF = swlons
cnres@mpLeftCornerLatF = swlats
cnres@mpRightCornerLonF = nelons
cnres@mpRightCornerLatF = nelats
However, when I plot, I see the following error message:
(0) check_for_y_lat_coord: Warning: Data either does not contain
a valid latitude coordinate array or doesn't contain one at all.
(0) check_for_lon_coord: Warning: Data either does not contain a
valid longitude coordinate array or doesn't contain one at all.
When I checked this error out on the web page, I had the sense that
I need to provide coordinate data for my data. However, the coordinate
data is not 1D, since I'm using a Lambert Conformal grid - the lat/lon
arrays are 2D (the values vary in space). Therefore, when I assign
the lat/lon arrays to the coordinate arrays, the program blows up.
I'm confused. Why am I receiving the above error when I've defined
all the correct values?
Thanks for any help!
Jason Levit
-- ------------------------------------------------------------------------ Jason J. Levit, N9MLA Research Scientist, jlevit AT ou.edu Center for Analysis and Prediction of Storms Room 1022 University of Oklahoma 405/325-3503 http://www.caps.ou.edu/
This archive was generated by hypermail 2b29 : Tue Feb 19 2002 - 09:06:07 MST