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

[Support #UDO-760622]: Changing MAXGOPN in dcgrib2/dcgrib.c, version 5.10.3



> I am running into an NFS problem with the dcgrib2 decoder and the GFSens
> files.  I believe the problem is the constant opening and closing of
> grid files since only 5 (MMFILE in gemprm.h) are allowed to be open at a
> time.  Can I just change the value of MAXGOPN in the main routine
> (dcgrib.c), or do I need to change MMFILE in gemprm.h and rebuild GEMPAK?
> 
> 


Harry,

The value MMFILE would have to be changed in gemprm.h and GEMPRM.PRM
and the entire distribution rebuilt.

I noticed that NWS added grid 38 to the thinned ensembles where previously
only grids 39-40 existed. I modified the gribkey.tbl to:
! Ensemble spectral AVN/MRF grids
007   2   ???          037 data/gempak/model/ens/YYYYMMDDHH_ensthin.gem  20000
007   2   ???          038 data/gempak/model/ens/YYYYMMDDHH_ensthin.gem  20000
007   2   ???          039 data/gempak/model/ens/YYYYMMDDHH_ensthin.gem  20000
007   2   ???          040 data/gempak/model/ens/YYYYMMDDHH_ensthin.gem  20000
007   2   ???          041 data/gempak/model/ens/YYYYMMDDHH_ensthin.gem  20000
007   2   ???          042 data/gempak/model/ens/YYYYMMDDHH_ensthin.gem  20000

that should help in only having to open 1 ensthin file instead of multiple
YYYYMMDDHHfFFF_ens@@@.gem files.

Steve Chiswell
Unidata User Support


Ticket Details
===================
Ticket ID: UDO-760622
Department: Support GEMPAK
Priority: Normal
Status: Closed