Re: problem with ERA40 geopotential height plot

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Thu, 30 Jul 2009 07:21:13 -0600

An alternative to manually unpacking and then
using 'copy_VarCoords', you could use "short2flt"

http://www.ncl.ucar.edu/Document/Functions/Contributed/short2flt.shtml

See the Examples

Correia, James wrote:
> Hi-
> You can use copy_VarCoords I think to transfer all the mapping information from the original variable to the modified variable.
>
> James Correia Jr
> Post Doc
> PH: 372-6463
> james.correia_at_pnl.gov
>
> "Wisdom. Strength. Courage. Generosity. Each of us are born with one of these. We must find the other three inside of us."
> -from "Into the West"
>
>
>
> -----Original Message-----
> From: ncl-talk-bounces_at_ucar.edu on behalf of p s
> Sent: Wed 7/29/2009 10:17 PM
> To: ncl-talk_at_ucar.edu
> Subject: problem with ERA40 geopotential height plot
>
> Hi
> I am trying to plot ERA40 geopotential height plots. Since the ERA40 data
> has value stored in integer with scale facotors and offsets, if I plot the
> integers only, I can do the countor map but when I correct the values using
> scale factor and offset, I get an 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) 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 east'
>
> any help?
> regards
> prabhakar
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Jul 30 2009 - 07:21:13 MDT

This archive was generated by hypermail 2.2.0 : Fri Jul 31 2009 - 14:51:03 MDT