Re: grib data with multiple time axis

From: David Brown <dbrown_at_nyahnyahspammersnyahnyah>
Date: Wed Jul 17 2013 - 18:30:50 MDT

Hi Prince,
I have resolved this issue. If you need a binary with the fix let us know your system info: OS, gcc version, etc.
 -dave

On Jul 15, 2013, at 12:21 AM, Prince K XAVIER <prince.xavier@gmail.com> wrote:

> Hi All,
> I have a grib file with the following attributes. NCL sees it as two time coordinates with lengths 2 and 3, while conversion to netcdf using cdo produces a single time axis of length 5. It looks like NCL collects the 2 months with 30 days as one coordinate and the remaining 3 months with 31 days as another.
>
> This makes me wonder why there is such difference and which way of reading is likely to give me the right answer. Any suggestions on how to read the data as one single time coordinate are most welcome.
>
> Cheers,
> Prince
>
> Variable: f
> Type: file
> filename: cc_199606_199607_199611_run01
> path: cc_199606_199607_199611_run01.grb1
> file global attributes:
> dimensions:
> forecast_time0 = 2
> g0_lat_1 = 73
> g0_lon_2 = 144
> forecast_time3 = 3
> variables:
> float V_GRD_GDS0_SFC_ave30d ( forecast_time0, g0_lat_1, g0_lon_2 )
> center : xx
> long_name : v-component of wind
> units : m/s
> _FillValue : 1e+20
> level_indicator : 1
> gds_grid_type : 0
> parameter_table_version : 1
> parameter_number : 34
> initial_time : 05/25/1996 (00:00)
>
> float V_GRD_GDS0_SFC_ave31d ( forecast_time3, g0_lat_1, g0_lon_2 )
> center : xx
> long_name : v-component of wind
> units : m/s
> _FillValue : 1e+20
> level_indicator : 1
> gds_grid_type : 0
> parameter_table_version : 1
> parameter_number : 34
> initial_time : 05/25/1996 (00:00)
>
> _______________________________________________
> 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 Wed Jul 17 18:31:00 2013

This archive was generated by hypermail 2.1.8 : Fri Jul 19 2013 - 15:39:06 MDT