I am attempting to make composites of narr data based on similar synoptic
case studies. I have used grib_api to append these non-sequential files
into one grib file. The var command gives the following dimensions for the
file:
Number of Dimensions: 3
Dimensions and sizes: [initial_time0_hours | 3] x [gridx_221 | 277] x
[gridy_221 | 349]
Coordinates:
initial_time0_hours: [1667052..1823115]
Number Of Attributes: 14
sub_center : The North American Regional Reanalysis (NARR) Project
center : US National Weather Service - NCEP (WMC)
long_name : Geopotential height
coordinates : gridlat_221 gridlon_221
level_indicator : 100
grid_number : 221
level : 500
forecast_time : 0
forecast_time_units : hours
I try applying either
zave = dim_avg_n_Wrap(x,0)
zave = dim_avg_Wrap( x(gridy_221|:, gridx_221|:, initial_time0_hours|:) )
The varsummary average file output is the following:
Variable: zave
Type: float
Total Size: 386692 bytes
96673 values
Number of Dimensions: 2
Dimensions and sizes: [gridy_221 | 349] x [gridx_221 | 277]
Coordinates:
Number Of Attributes: 15
forecast_time_units : hours
forecast_time : 0
level : 500
model : North American Regional Reanalysis (NARR)
parameter_number : 7
parameter_table_version : 131
grid_number : 221
level_indicator : 100
coordinates : gridlat_221 gridlon_221
average_op_ncl : dim_avg over dimension(s): initial_time0_hours
And I receive this error when trying to plot and produces a blank plot:
(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'
Any suggestions on what I might be doing wrong, or any suggestions on how
to correctly implement non sequential composites? Thank you!
Sincerely,
Emily
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Mar 18 01:54:12 2013
This archive was generated by hypermail 2.1.8 : Tue Mar 19 2013 - 16:31:18 MDT