[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

961212: Trouble read a netcdf file on the cray



Tom,

>Date: Thu, 12 Dec 1996 09:33:23 -0700 (MST) 
>From: address@hidden (Thomas Mayer)
>Organization: National Center for Atmospheric Research NCAR
>To: address@hidden (Steve Emmerson)
>Subject: Re: 961212: Trouble read a netcdf file on the cray 
>Keywords: 199612102207.AA21583

In the above message you wrote:

>       I don't have enough room on my home directory, but I do
>       have the file on /usr/tmp on Shavano.  Look for file
>       /usr/tmp/lsd/z500

I invoked a version 2.4.3 ncdump(1) that I built on the file on Shavano.
Here's the first 3 pages of output:

shavano$ ./ncdump /usr/tmp/lsd/z500
netcdf z500 {
dimensions:
        lon = 144 ;
        lat = 73 ;
        level = 12 ;
        time = UNLIMITED ; // (33 currently)
        chid = 4 ;
variables:
        short hgt(time, level, lat, lon) ;
                hgt:statistic = "Mean\n",
    "M" ;
                hgt:parent_stat = "Mean\n",
    "M" ;
                hgt:missing_value = 32766s ;
                hgt:dataset = "Ensemble 500mb Height Forecasts (from 00Z Run)" ;
                hgt:long_name = "500mb Heights" ;
                hgt:level_desc = "Other\n",
    "-" ;
                hgt:var_desc = "500mb Heights\n",
    "-" ;
                hgt:add_offset = 32066.f ;
                hgt:scale_factor = 1.f ;
                hgt:units = "mb" ;
                hgt:actual_range = 4910.5f, 5908.3f ;
                hgt:_FillValue = -32767s ;
                hgt:valid_range = -9.96921e+36f, 9.96921e+36f ;
        float lon(lon) ;
                lon:units = "degrees_east" ;
                lon:long_name = "Longitude" ;
                lon:actual_range = 0.f, 357.5f ;
        float lat(lat) ;
                lat:units = "degrees_north" ;
                lat:long_name = "Latitude" ;
                lat:actual_range = 90.f, -90.f ;
        float level(level) ;
                level:units = "millibar" ;
                level:positive = "down" ;
                level:long_name = "Level" ;
                level:actual_range = 1.f, 12.f ;
                level:desc = "Level here actually describes an ensemble 
forescstidentifer, (see levids variable)" ;
        double time(time) ;
                time:units = "hours since 1-1-1 00:00:0.0" ;
                time:actual_range = 17495160., 17495544. ;
                time:title = "Valid Time" ;
                time:delta_t = "0000-00-00 12:00:00" ;
                time:init_time = 17495160. ;
        char levids(level, chid) ;
                levids:long_name = "Level Identifier" ;
                levids:desc = "Used To Map Level With Ensemble Member Id" ;

// global attributes:
                :platform = "Model Forecast Data (MRF)." ;
                :title = "Ensemble 500mb Height Forecasts" ;
                :history = "Created by CDC on 11/ 1/96 using netwrite.f" ;
                :Conventions = "COARDS" ;
                :description = "Data represents NCEP Ensemble 500mb Height 
forecast data." ;

data:

 hgt =
  -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, 
    -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, 
    -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, 
    -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, 
    -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, 
    -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, 
    -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, 
    -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, 
    -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, 
    -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, 
    -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, 
    -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, 
    -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, 
    -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, 
    -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, 
    -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811,
  -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, 
    -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, -26811, 
    -26811, -26811, -26810, -26810, -26810, -26810, -26810, -26809, -26809, 
    -26809, -26808, -26808, -26807, -26807, -26807, -26806, -26806, -26805, 
    -26805, -26804, -26804, -26803, -26803, -26802, -26802, -26801, -26801, 
    -26800, -26800, -26799, -26799, -26798, -26798, -26797, -26797, -26797, 
    -26796, -26796, -26796, -26796, -26795, -26795, -26795, -26795, -26795, 
    -26795, -26795, -26795, -26794, -26794, -26795, -26795, -26795, -26795, 
    -26795, -26795, -26795, -26795, -26795, -26795, -26795, -26795, -26795, 
    -26795, -26795, -26796, -26796, -26796, -26795, -26795, -26795, -26795, 
    -26795, -26795, -26795, -26795, -26795, -26795, -26795, -26795, -26795, 
    -26795, -26795, -26795, -26796, -26796, -26796, -26796, -26796, -26797, 
    -26797, -26797, -26798, -26798, -26798, -26799, -26799, -26800, -26800, 
    -26801, -26801, -26802, -26803, -26803, -26804, -26804, -26805, -26805, 
    -26806, -26806, -26807, -26807, -26808, -26808, -26809, -26809, -26809, 
    -26810, -26810, -26810, -26810, -26811, -26811, -26811, -26811, -26811,
  -26787, -26786, -26785, -26785, -26784, -26783, -26783, -26782, -26782, 
    -26781, -26781, -26781, -26781, -26781, -26781, -26781, -26781, -26781, 
    -26782, -26782, -26782, -26783, -26783, -26783, -26783, -26783, -26783, 
    -26783, -26783, -26783, -26783, -26782, -26782, -26781, -26781, -26780, 
    -26780, -26780, -26779, -26779, -26778, -26778, -26778, -26778, -26778, 
    -26778, -26778, -26778, -26778, -26778, -26778, -26778, -26778, -26779, 
    -26779, -26779, -26780, -26780, -26781, -26781, -26782, -26783, -26783, 
    -26784, -26785, -26787, -26788, -26790, -26791, -26793, -26794, -26796, 
    -26798, -26800, -26801, -26803, -26805, -26806, -26807, -26808, -26808, 
    -26809, -26809, -26809, -26808, -26808, -26807, -26805, -26804, -26802, 
    -26800, -26799, -26797, -26795, -26793, -26790, -26788, -26787, -26785, 
    -26783, -26781, -26780, -26778, -26777, -26776, -26775, -26774, -26773, 
    -26772, -26772, -26771, -26771, -26771, -26771, -26771, -26772, -26772, 
    -26773, -26773, -26774, -26775, -26776, -26777, -26779, -26780, -26781, 
    -26782, -26783, -26784, -26785, -26786, -26787, -26788, -26788, -26789, 
    -26789, -26789, -26789, -26789, -26789, -26789, -26788, -26788, -26787,
  -26775, -26773, -26770, -26768, -26765, -26762, -26759, -26756, -26754, 
    -26751, -26749, -26747, -26746, -26745, -26744, -26744, -26744, -26745, 
    -26745, -26746, -26747, -26749, -26750, -26751, -26752, -26752, -26753, 
    -26753, -26754, -26754, -26754, -26754, -26753, -26753, -26753, -26753, 
    -26754, -26754, -26755, -26755, -26757, -26758, -26759, -26761, -26762, 
    -26764, -26766, -26768, -26770, -26771, -26773, -26774, -26775, -26777, 
    -26778, -26779, -26779, -26780, -26781, -26782, -26784, -26785, -26787, 
    -26790, -26792, -26796, -26799, -26804, -26809, -26814, -26820, -26826, 
    -26833, -26839, -26846, -26852, -26858, -26864, -26868, -26872, -26875, 
    -26877, -26877, -26876, -26875, -26872, -26868, -26863, -26857, -26851, 
    -26844, -26837, -26830, -26823, -26816, -26809, -26803, -26797, -26791, 
    -26786, -26781, -26777, -26772, -26768, -26765, -26761, -26757, -26754, 
    -26751, -26748, -26745, -26743, -26741, -26739, -26737, -26737, -26736, 
    -26736, -26737, -26738, -26740, -26742, -26744, -26747, -26750, -26753, 
    -26756, -26759, -26762, -26765, -26767, -26770, -26772, -26774, -26776, 
    -26777, -26779, -26779, -26780, -26780, -26780, -26779, -26778, -26777,
  -26814, -26811, -26807, -26802, -26796, -26789, -26781, -26773, -26765, 
    -26758, -26750, -26744, -26738, -26733, -26729, -26726, -26724, -26723, 
    -26723, -26723, -26724, -26726, -26727, -26729, -26730, -26731, -26732, 
    -26733, -26734, -26734, -26735, -26735, -26736, -26736, -26737, -26739, 
    -26740, -26742, -26745, -26748, -26751, -26755, -26759, -26763, -26767, 
    -26772, -26775, -26779, -26782, -26785, -26787, -26788, -26789, -26789, 
    -26789, -26789, -26788, -26787, -26786, -26786, -26786, -26786, -26787, 
    -26789, -26792, -26796, -26802, -26809, -26817, -26827, -26838, -26851, 
    -26865, -26879, -26894, -26909, -26924, -26937, -26949, -26959, -26966, 
    -26971, -26973, -26971, -26967, -26960, -26951, -26939, -26926, -26912, 
    -26897, -26881, -26867, -26853, -26839, -26827, -26817, -26807, -26799, 
    -26792, -26786, -26780, -26774, -26769, -26764, -26759, -26753, -26747, 
    -26741, -26734, -26728, -26722, -26716, -26711, -26707, -26703, -26701, 
    -26700, -26701, -26702, -26705, -26708, -26713, -26718, -26724, -26730, 
    -26736, -26742, -26749, -26755, -26761, -26767, -26772, -26778, -26784, 

Is this what you get when you run Shavano's ncdump(1) on the file or 
are some of above values zero as you previously mentioned?

>       Also if you want to see the source code and shavano batch
>       script I use to process the file.  Look at files
> 
>          rdCDCnetcdf_96110100.shjb
> 
>           &
> 
>          netcdf.f
> 
>       in directory
> 
>          /crestone/u0/lsd/analdata/NETCDF
> 
>       on crestone

--------
Steve Emmerson   <address@hidden>