[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
20051014: 20051011: NETCDF to GRID file
- Subject: 20051014: 20051011: NETCDF to GRID file
- Date: Fri, 14 Oct 2005 16:43:40 -0600
Mike,
I glanced at the CDC web site. The SHUM set I found was on pressure levels,
and running dcreanal on that data for the 1948 file:
% dcreanal shum.1948.nc YYYYMM_shum.gem
The same could be repeated for each yearly netcdf file.
produced monthly files with pressure levels of 1000, 925, 850, 700, 600, 500,
400, 300. At each time, there were 8 levels.
GDFILE = 194801_shum.gem
LSTALL = yes
OUTPUT = t
GDATTIM = all
GLEVEL = all
GVCORD = all
GFUNC = all
GEMPAK-GDINFO>r
GRID FILE: 194801_shum.gem
GRID NAVIGATION:
PROJECTION: CED
GRID SIZE: 144 73
LL CORNER: -90.00 0.00
UR CORNER: 90.00 357.50
GRID ANALYSIS BLOCK:
UNKNOWN ANALYSIS TYPE
Number of grids in file: 992
Maximum number of grids in file: 9800
NUM TIME1 TIME2 LEVL1 LEVL2 VCORD PARM
1 480101/0000 1000 PRES SPFH
2 480101/0000 925 PRES SPFH
3 480101/0000 850 PRES SPFH
4 480101/0000 700 PRES SPFH
5 480101/0000 600 PRES SPFH
6 480101/0000 500 PRES SPFH
7 480101/0000 400 PRES SPFH
8 480101/0000 300 PRES SPFH
9 480101/0600 1000 PRES SPFH
10 480101/0600 925 PRES SPFH
11 480101/0600 850 PRES SPFH
12 480101/0600 700 PRES SPFH
13 480101/0600 600 PRES SPFH
14 480101/0600 500 PRES SPFH
15 480101/0600 400 PRES SPFH
16 480101/0600 300 PRES SPFH
<...>
etc.
If this isn't the type of output your seeing, then I'd have to see your gdinfo
output.
Steve Chiswell
Unidata User Support
>From: Mike Bodner <address@hidden>
>Organization: NOAA/NCEP/HPC
>Keywords: 200510141725.j9EHPi7s003290
>Hi Steve,
>
>I downloaded the executable file and table, then ran the program over
>1948-2004 for specific humidity. The grid (GEMPAK) file created gave 4
>times stamps of 0000 UTC for each day of the year.
>
>If you have any insight into what may be happening, that would be great.
>
>Mike
>
>Unidata Support wrote:
>
>>Mike,
>>
>>I'd need to know about your OS, or you can download the binary
>>distribution of GEMPAK from:
>>http://www.unidata.ucar.edu/downloads/gempak/
>>
>>
>>Steve CHiswell
>>Unidata User SUpport
>>
>>
>>
>>>From: Mike Bodner <address@hidden>
>>>Organization: NOAA/NCEP/HPC
>>>Keywords: 200510112034.j9BKYZeX025925
>>>
>>>
>>
>>
>>
>>>Steve,
>>>
>>>I will need the dcreanal executable and the table. If you could email
>>>them to me or put them on a server where I can grab them, that would be
>>>great.
>>>
>>>Mike
>>>
>>>Steve Chiswell wrote:
>>>
>>>
>>>
>>>>Mike,
>>>>
>>>>The dcreanal program is contained in the GEMPAK distribution which you
>>>>can obtain through the Unidata web portal:
>>>>www.unidata.ucar.edu/software/gempak
>>>>
>>>>The dcreanal program uses the $GEMTBL/grid/ncarncep1.tbl grid parameter
>>>>table. If you need just the dcreanal executable, I can provide the
>>>>binary and the table.
>>>>
>>>>Running the program works like:
>>>>dcreanal input.nc gempak_outfile_template
>>>>
>>>>for example, to create monthly files:
>>>>dcreanal shum.2004.nc YYYYMM.gem
>>>>
>>>>If the file you have has 4 times per day, a monthly file would have
>>>>~120 grid times. The usual limit for number of grid times in a GEMPAK
>>>>file is 1000, so you would not be able to place all times
>>>>in a single yearly gempak file, so use the monthly template.
>>>>
>>>>Steve Chiswell
>>>>Unidata User Support
>>>>
>>>>On Tue, 2005-10-11 at 13:27, Mike Bodner wrote:
>>>>
>>>>
>>>>
>>>>
>>>>>Steve,
>>>>>
>>>>>I am looking to convert NCAR/NCEP reanalysis files which I downloaded
>>>>>
>>>>>
>>>>>from the CDC site.
>>>>
>>>>
>>>>>a sample of the file name is /shum.2004.nc /and it's a 2.5x2.5 grid.
>>>>>
>>>>>Hope this helps
>>>>>
>>>>>Mike
>>>>>
>>>>>Steve Chiswell wrote:
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>Mike,
>>>>>>
>>>>>>It depends on the source and format of the netcdf file.
>>>>>>I provide a NetCDF to GEMPAK grid for NCAR/NCEP reanalysis
>>>>>>types of grid files that follow the COARDS conventions for NetCDF
>>>>>>files. Otherwise, i'd have to know the source of the file and
>>>>>>see the NetCDF header.
>>>>>>
>>>>>>Steve Chiswell
>>>>>>Unidata User Support
>>>>>>
>>>>>>
>>>>>>On Tue, 2005-10-11 at 12:33, Mike Bodner wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>Hi Steve,
>>>>>>>
>>>>>>>Scott Jacops from NCEP suggested that I contact you with my question.
>>>>>>>
>>>>>>>Do you know which programs are available to convert a NETCDF file to a
>>>>>>>gird file in GEMPAK? If so, do you know where I need obtain this program
> ?
>>>>>>>
>>>>>>>Thanks in advance for any help you can provide.
>>>>>>>
>>>>>>>Mike
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>--
>>>
>>>Mike Bodner
>>>Meteorologist/Developer
>>>NOAA/NCEP/HPC/Development and Training Branch
>>>5200 Auth Road
>>>Camp Springs, MD 20746
>>>
>>>Email address@hidden
>>>Voice 301-763-8000 ext. 7322
>>>Fax 301-763-8085
>>>
>>>
>>>
>>--
>>****************************************************************************
>>Unidata User Support UCAR Unidata Program
>>(303)497-8643 P.O. Box 3000
>>address@hidden Boulder, CO 80307
>>----------------------------------------------------------------------------
>>Unidata WWW Service http://my.unidata.ucar.edu/content/support
>>----------------------------------------------------------------------------
>>NOTE: All email exchanges with Unidata User Support are recorded in the
>>Unidata inquiry tracking system and then made publicly available
>>through the web. If you do not want to have your interactions made
>>available in this way, you must let us know in each email you send to us.
>>
>>
>
>--
>
>Mike Bodner
>Meteorologist/Developer
>NOAA/NCEP/HPC/Development and Training Branch
>5200 Auth Road
>Camp Springs, MD 20746
>
>Email address@hidden
>Voice 301-763-8000 ext. 7322
>Fax 301-763-8085
>
--
NOTE: All email exchanges with Unidata User Support are recorded in the
Unidata inquiry tracking system and then made publicly available
through the web. If you do not want to have your interactions made
available in this way, you must let us know in each email you send to us.