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

19990824: converting ncep reanalysis grids



Choi,

The data set you have is NCAR/NCEP reanalysis grids in NetCDF
format.

To convert these grids into Gempak format, I have provided
a program called dcreanal in the Gempak distribution.

You will first need to make sure you have the program installed
in your Gempak installation. To build this program- make sure your
Gempak installation account has sourced the Gemenviron environmental
variables, then:

cd $NAWIPS/unidata/ldmbridge/dcreanal
make clean
make all
make install
make clean

The above commands will install the dcreanal program into the $GEMEXE
directory.

To use the program to convert your 4 times daily surface pressure
grids into Gempak gridded data file, use the program as follows:

dcreanal netcdffile.nc gempakfile_YYYYMM.gem

The netcdffile.nc file will be your netcdf input file.
The gempakfile_YYYYMM.gem will be Gempak files, using the YYYYMM 
template to create separate monthly files for the output (since Gempak
can only have 200 times in a single file, using the template replacement
will create a new file for each month).

Once you have converted the data into Gempak format, you can use any of
the Gempak gridded data programs to display the data.

Steve Chiswell








>From: "Jong-Nam Choi" <address@hidden>
>Organization: .
>Keywords: 199908250259.UAA09744

>Dear. Mr. Steve Chiswell.
>
>This is Jong-Nam Choi.
>Thank you for your help.
>I installed NetCDF, then I tried to run ncdump.c.
>I included ncdump.h.  I ran, but I guess I can't handle it now.
>I need a bit more time to figure out.
>Here I got a message, after I run.
>   id:fatal:symbol referencing errors. No output written to a.out.
>
>Actually I downloaded netCDF files from Climatic Data Center (cdc)
>    ftp.cdc.noaa.gov in /Datasets/ncep.reanalysis.dailyavgs
>
>I hope you can give me precious tips.
>Thank you in advance for your help.
>
>Choi
>
>Jong-Nam Choi
>Ph.D. Candidate
>Climatology Research Laboratory
>Dept. of Geography, University of Georgia.
>Athens, GA, 30602
>(Phone) 706-542-6060
>
>From address@hidden  Fri Aug 27 08:53:18 1999
>Received: from gilda.unidata.ucar.edu (gilda.unidata.ucar.edu [128.117.140.30]
> )
>       by unidata.ucar.edu (8.8.8/8.8.8) with SMTP id IAA25338
>       for <address@hidden>; Fri, 27 Aug 1999 08:53:18 -0600 (MDT)
>Message-Id: <address@hidden>
>Organization: .
>Keywords: 199908271453.IAA25338
>To: Unidata Support <address@hidden>
>Subject: Re: 19990827: About data conversion (cont.) 
>In-reply-to: Your message of "Fri, 27 Aug 1999 08:21:56 MDT."
>             <address@hidden> 
>Date: Fri, 27 Aug 1999 08:53:18 -0600
>From: Steve Emmerson <address@hidden>
>
>Dear Support,
>
>>Date: Fri, 27 Aug 1999 08:21:56 -0600
>>From: Unidata Support <address@hidden>
>>Organization: .
>>To: address@hidden
>>Subject: 19990827: About data conversion (cont.)
>>Keywords: 199908271421.IAA24385
>
>In the above message, you wrote:
>
>> 
>> ------- Forwarded Message
>> 
>> >From: Jong-Nam Choi <address@hidden>
>> >Subject: About data conversion.
>> >Organization: University of Georgia
>> >Keywords: 199908270352.VAA13001 netCDF ncdump
>> 
>> Dear. Mr. Steve Chiswell
>> 
>> This is Jong-Nam Choi who asked conversion program.
>> Here is the ncdump output.
>> 
>> Thank you in advance for your help.
>> 
>> Jong-Nam Choi
>> 
>> 
>> 
>> netcdf pres_sfc_1980 {
>> dimensions:
>>         lon = 144 ;
>>         lat = 73 ;
>>         time = UNLIMITED ; // (366 currently)
>> variables:
>>         float lat(lat) ;
>>                 lat:units = "degrees_north" ;
>>                 lat:actual_range = 90.f, -90.f ;
>>                 lat:long_name = "Latitude" ;
>>         float lon(lon) ;
>>                 lon:units = "degrees_east" ;
>>                 lon:long_name = "Longitude" ;
>>                 lon:actual_range = 0.f, 357.5f ;
>>         double time(time) ;
>>                 time:units = "hours since 1-1-1 00:00:0.0" ;
>>                 time:long_name = "Time" ;
>>                 time:actual_range = 17347584., 17356344. ;
>>                 time:delta_t = "0000-00-01 00:00:00" ;
>>                 time:avg_period = "0000-00-01 00:00:00" ;
>>         short pres(time, lat, lon) ;
>>                 pres:long_name = "mean Daily Pressure at surface" ;
>>                 pres:valid_range = 40000.f, 115000.f ;
>>                 pres:actual_range = 49370.f, 109260.f ;
>>                 pres:units = "Pascals" ;
>>                 pres:add_offset = 367650.f ;
>>                 pres:scale_factor = 10.f ;
>>                 pres:missing_value = 32766s ;
>>                 pres:precision = -1s ;
>>                 pres:least_significant_digit = -1s ;
>>                 pres:GRIB_id = 1s ;
>>                 pres:GRIB_name = "PRES" ;
>>                 pres:var_desc = "Pressure\n",
>>     "CC" ;
>>                 pres:dataset = "NCEP Reanalysis Daily Averages\n",
>>     "AJ" ;
>>                 pres:level_desc = "Surface\n",
>>     "0" ;
>>                 pres:statistic = "Mean\n",
>>     "M" ;
>>                 pres:parent_stat = "Individual Obs\n",
>>     "I" ;
>> 
>> // global attributes:
>>                 :Conventions = "COARDS" ;
>>                 :title = "mean daily NMC reanalysis (1980)" ;
>>                 :base_date = 1980s, 1s, 1s ;
>>                 :history = "created 95/03/13 by Hoop (netCDF2.3)" ;
>>                 :description = "Data is from NMC initialized reanalysis\n",
>>     "(4x/day).  It consists of most variables interpolated to\n",
>>     "pressure surfaces from model (sigma) surfaces." ;
>>                 :platform = "Model" ;
>> }
>> 
>> 
>> ------- End of Forwarded Message
>
>So what am I supposed to do with this?
>
>--------
>Steve Emmerson   <http://www.unidata.ucar.edu>
>

>From address@hidden  Fri Aug 27 20:55:30 1999

Dear. Mr. Steve Chiswell.

I really appreciate your help.  You blew all my problems away.  Thanks
again.

Jong-Nam Choi.
Jong-Nam Choi
Ph.D. Candidate
Climatology Research Laboratory
Dept. of Geography, University of Georgia.
Athens, GA, 30602
(Phone) 706-542-6060