[ncl-talk] Attaching coordinate information

Barry Lynn barry.h.lynn at gmail.com
Tue Nov 29 09:24:20 MST 2016


Hi:

I have used the helpful suggestions offered through ncl-talk to create
the attached program that reads multiple GEFS files from multiple GEFS
directories (on your disk).

Of course, any one on the list can use this program, but I would like to
upload it again after I solve this problem.

As part of my calculations for the GEFS mean, I need to create a variable
called t2m_ave.  However, when I use it I get get the error below.

If I use a variable from the GEFS*grb files that I don't need in place of
it, I can make very nice plots of the mean surface temperature. This means
that these variables already have grid information attached to them.

The page: http://www.ncl.ucar.edu/Document/Graphics/error_msg.shtml

has a suggestion what to do, but I am not sure what "x" is, and how to use
the suggestion.

The upshot is that I need to attach geographical information to my "average
variables," and I don't know how to do this.

check_for_y_lat_coord: Warning: Data either does not contain a valid
latitude coordinate array or doesn't contain one at all.
(0) A valid latitude coordinate array should have a 'units' attribute equal
to one of the following values:
(0)    'degrees_north' 'degrees-north' 'degree_north' 'degrees north'
'degrees_N' 'Degrees_north' 'degree_N' 'degreeN' 'degreesN' 'deg north'
(0) check_for_lon_coord: Warning: Data either does not contain a valid
longitude coordinate array or doesn't contain one at all.
(0) A valid longitude coordinate array should have a 'units' attribute
equal to one of the following values:
(0)    'degrees_east' 'degrees-east' 'degree_east' 'degrees east'
'degrees_E' 'Degrees_east' 'degree_E' 'degreeE' 'degreesE' 'deg eas
-- 
Barry H. Lynn, Ph.D
Senior Lecturer,
The Institute of the Earth Science,
The Hebrew University of Jerusalem,
Givat Ram, Jerusalem 91904, Israel
Tel: 972 547 231 170
Fax: (972)-25662581

C.E.O, Weather It Is, LTD
Weather and Climate Focus
http://weather-it-is.com
Jerusalem, Israel
Local: 02 930 9525
Cell: 054 7 231 170
Int-IS: x972 2 930 9525
US 914 432 3108
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161129/20d9f3e5/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plot_gefs_surface.ncl
Type: application/octet-stream
Size: 9788 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161129/20d9f3e5/attachment.obj 


More information about the ncl-talk mailing list