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

[GEMPAK #DIE-934371]: NetCDF to GEMPAK format



Giovanni,

I'll assume then that once you toolk care of the directory permission issue, 
you were able to decode the file satisfactorily.

Steve Chiswell
Unidata User Support


> Hello Steve,
> 
> I realized that the problem was not de decoder. The problem was a write
> permission at $MODEL directory. I was running the dcreanal to write the out 
> put
> at $MODEL directory as gempak user but only the ldm user has write permission 
> in
> $MODEL directory. Hence when  when I tried to run dcrenal and write the out 
> put
> (neve.gem) in a different directory it worked.
> Below you can find the results of my attempts: (note: dcreanal_novo is the 
> file
> you sent to me)
> 
> [gempak@giovanni bin]$ dcreanal $MODEL/200.206.254.75.155.18.27.1.nc 
> $MODEL/neve.gem
> Changing center table to cntrgrib1.tbl
> Changing vertical coord table to vcrdgrib1.tbl
> Changing WMO parameter table to ncarncep1.tbl
> Changing center parameter table to ncarncep1.tbl
> opening /data/ldm/gempak/model/neve.gem 050912/1200
> [FL -3]  Cannot create file /data/ldm/gempak/model/neve.gem.
> [DM -1]  File /data/ldm/gempak/model/neve.gem cannot be created.
> [GD -1]  File /data/ldm/gempak/model/neve.gem cannot be created.
> Error creating file: -1/data/ldm/gempak/model/neve.gem)
> 050912/1200         TMPK        PRES         850 -1
> [gempak@giovanni bin]$ dcreanal $MODEL/200.206.254.75.155.18.27.1.nc neve.gem
> Changing center table to cntrgrib1.tbl
> Changing vertical coord table to vcrdgrib1.tbl
> Changing WMO parameter table to ncarncep1.tbl
> Changing center parameter table to ncarncep1.tbl
> opening neve.gem 050912/1200
> 050912/1200         TMPK        PRES         850 -1
> [gempak@giovanni bin]$ dcreanal_novo $MODEL/200.206.254.75.155.18.27.1.nc 
> neve.gem
> Changing center table to cntrgrib1.tbl
> Changing vertical coord table to vcrdgrib1.tbl
> Changing WMO parameter table to ncarncep1.tbl
> Changing center parameter table to ncarncep1.tbl
> 
> ********************
> Vertical coordinate id level
> Latitude coordinate lat  size 7
> Longitude coordinate lon  size 9
> Time coordinate time
> Variable parameter air
> ********************
> opening neve.gem 050912/1200
> 050912/1200         TMPK        PRES         850 -1
> [gempak@giovanni bin]$ dcreanal_novo $MODEL/200.206.254.75.155.18.27.1.nc
> $MODEL/neve.gem
> Changing center table to cntrgrib1.tbl
> Changing vertical coord table to vcrdgrib1.tbl
> Changing WMO parameter table to ncarncep1.tbl
> Changing center parameter table to ncarncep1.tbl
> 
> ********************
> Vertical coordinate id level
> Latitude coordinate lat  size 7
> Longitude coordinate lon  size 9
> Time coordinate time
> Variable parameter air
> ********************
> opening /data/ldm/gempak/model/neve.gem 050912/1200
> [FL -3]  Cannot create file /data/ldm/gempak/model/neve.gem.
> [DM -1]  File /data/ldm/gempak/model/neve.gem cannot be created.
> [GD -1]  File /data/ldm/gempak/model/neve.gem cannot be created.
> Error creating file: -1/data/ldm/gempak/model/neve.gem)
> 050912/1200         TMPK        PRES         850 -1
> 
> 
> 
> Citando Unidata GEMPAK Support <address@hidden>:
> 
> > Giovanni,
> >
> > I tried the URL below, but received an error. The problem seems to be my
> > binary installation
> > did not update the dcreanal program directory. There are 2 directories in 
> > the
> > source distribution
> > $NAWIPS/unidata/ldmbridge/dcreanal and $NAWIPS/unidata/ldmbridge/dcreanal2
> > both build and install a program called dcreanal (the former was an older
> > version for specific limitations).
> >
> > Apparently on our linux system, the install did not install the dcreanal 
> > from
> > the dcreanal2 directory.
> >
> > I have attached the dcreanal executable here for you to try.
> >
> > Thanks for catching this,
> >
> > Steve Chiswell
> > Unidata User Support
> >
> >
> > > Hello Steve,
> > >
> > > I tried to use the "dcreanal" decoder to make a .gem file from a netCDF
> > file but
> > > it didn't work.
> > > This is the error message:
> > >
> > > [gempak@giovanni model]$ /home/gempak/GEMPAK5.9.2/os/linux/bin/dcreanal
> > > 200.206.254.75.155.18.27.1.nc nevetropic.gem
> > > Changing center table to cntrgrib1.tbl
> > > Changing vertical coord table to vcrdgrib1.tbl
> > > Changing WMO parameter table to ncarncep1.tbl
> > > Changing center parameter table to ncarncep1.tbl
> > > opening nevetropic.gem 050912/1200
> > > [FL -3]  Cannot create file nevetropic.gem.
> > > [DM -1]  File nevetropic.gem cannot be created.
> > > [GD -1]  File nevetropic.gem cannot be created.
> > > Error creating file: -1nevetropic.gem
> > > 050912/1200         TMPK        PRES         850 -1
> > >
> > >
> > >
> > > The file 200.206.254.75.155.18.27.1.nc is an NCEP reanalysis field from 
> > > CDC
> > (
> > >
> >
> http://www.cdc.noaa.gov/cgi-bin/GrADS.pl?dataset=NCEP+Reanalysis+Pressure+Level&DB_did=2&file=%2FDatasets%2Fncep.reanalysis%2Fpressure%2Fair.1948.nc+air.%25y4.nc+85348&variable=air&DB_vid=13&DB_tid=13273&units=degK&longstat=Individual+Obs&DB_statistic=Individual+Obs&stat=&lon-begin=300.00E&lon-end=320.50E&lat-begin=35.00S&lat-end=20.00S&dim0=level&level+units=millibar&level=850.00&dim1=time&year_begin=2005&mon_begin=Sep&day_begin=12&hour_begin=12+Z&year_end=2005&mon_end=Sep&day_end=12&hour_end=12+Z&X=lon&Y=lat&output=plot&bckgrnd=white&typeplot=on&use_color=on&cint=&range1=&range2=&scale=100&submit=Create+Plot+or+Subset+of+Data
> > > )
> > >
> > >
> > > Regards,  Giovanni
> > >
> > > --
> > > Giovanni Dolif Neto
> > > Meteorologist (Msc.) - CPTEC/INPE
> > > http://www.cptec.inpe.br
> > > Tel.: 55 - (12) 3186-8459
> > >
> > >
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: DIE-934371
> > Department: Support GEMPAK
> > Priority: Normal
> > Status: Closed
> 
> 
> --
> Giovanni Dolif Neto
> Meteorologist (Msc.) - CPTEC/INPE
> http://www.cptec.inpe.br
> Tel.: 55 - (12) 3186-8459
> 
> 


Ticket Details
===================
Ticket ID: DIE-934371
Department: Support GEMPAK
Priority: Normal
Status: Closed