Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

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

[GEMPAK #KBG-822692]: GDCFIL error - Grid Navigation/Analysis Unknown



Evan,

I'm unable to create the same files as you (seeing a "Navigation information is 
invalid" error message), so without knowing exactly why the final file is not 
created same as the first seven, I'd ask why not simply copy day1.grd to 
day2.grd, day3.grd and so forth?  You can do with either through GDCFIL:

GDOUTF  = day2.grd                             
PROJ    =                                           
GRDAREA =                                          
KXKY    =                                         
MAXGRD  = 100                                    
CPYFIL  = day1.grd                            
ANLYSS  =       

or with a foreach in your shell script after creating the first file in GDCFIL:

set NUMS = "2 3 4 5 6 7 8"

foreach NUM ($NUMS)
  cp day1.grd day${NUM}.grd
end  

-Michael
Unidata User Support




> 
> Hello,
> 
> Noticed an issue with GDCFIL on 5.11.4 only.  The following csh script
> creates 8 blank .grd files (day1.grd,day2.grd,day3.grd,..,day8.grd).
> 
> Filename: temp.csh
> 
> #!/bin/csh
> #
> source /data/gempak/Gemenviron
> 
> gdcfil << GDCFIL_EOF
> 
> PROJ=CED
> GRDAREA=-90;-180;90;180
> KXKY=#0.5;0.5
> MAXGRD=6
> CPYFIL=
> ANLYSS=1/1;1;1;1
> GDOUTF=day1.grd
> r
> 
> GDOUTF=day2.grd
> r
> 
> GDOUTF=day3.grd
> r
> 
> GDOUTF=day4.grd
> r
> 
> GDOUTF=day5.grd
> r
> 
> GDOUTF=day6.grd
> r
> 
> GDOUTF=day7.grd
> r
> 
> GDOUTF=day8.grd
> r
> 
> e
> GDCFIL_EOF
> 
> 
> gpend
> 
> The first 7 .grd files (day1.grd,..,day7.grd) are created properly.
> day8.grd is not created properly.  Below is the GDINFO output of both
> day7.grd and day8.grd.
> 
> [evan@server1 test]$ gdinfo
> GDFILE    Grid file                         day7.grd
> LSTALL    Full list flag                    YES
> OUTPUT    Output device/filename            T
> GDATTIM   Grid date/time                    all
> GLEVEL    Grid level                        all
> GVCORD    Grid vertical coordinate          all
> GFUNC     Scalar grid                       all
> Parameters requested: GDFILE,LSTALL,OUTPUT,GDATTIM,GLEVEL,GVCORD,GFUNC.
> GEMPAK-GDINFO>l
> GDFILE   = day7.grd
> LSTALL   = YES
> OUTPUT   = T
> GDATTIM  = all
> GLEVEL   = all
> GVCORD   = all
> GFUNC    = all
> GEMPAK-GDINFO>r
> 
> GRID FILE: day7.grd
> 
> GRID NAVIGATION:
> PROJECTION:          CED
> GRID SIZE:          721 361
> LL CORNER:             -90.00   -180.00
> UR CORNER:              90.00    180.00
> 
> GRID ANALYSIS BLOCK:
> ANALYSIS TYPE:        BARNES
> DELTAN:               1.000
> DELTAX:           -9999.000
> DELTAY:           -9999.000
> GRID AREA:           -90.00 -180.00   90.00  180.00
> EXTEND AREA:         -90.00 -180.00   90.00  180.00
> DATA AREA:           -90.00 -180.00   90.00  180.00
> 
> Number of grids in file:     0
> 
> Maximum number of grids in file:      6
> 
> [GDU 2]  Did not find any matching grids.
> Parameters requested: GDFILE,LSTALL,OUTPUT,GDATTIM,GLEVEL,GVCORD,GFUNC.
> GEMPAK-GDINFO>gdfile=day8.grd
> GEMPAK-GDINFO>l
> GDFILE   = day8.grd
> LSTALL   = YES
> OUTPUT   = T
> GDATTIM  = all
> GLEVEL   = all
> GVCORD   = all
> GFUNC    = all
> GEMPAK-GDINFO>r
> 
> GRID FILE: day8.grd
> 
> GRID NAVIGATION:
> UNKNOWN GRID NAVIGATION
> GRID ANALYSIS BLOCK:
> UNKNOWN ANALYSIS TYPE
> 
> Number of grids in file:     0
> 
> Maximum number of grids in file:      6
> 
> [GDU 2]  Did not find any matching grids.
> Parameters requested: GDFILE,LSTALL,OUTPUT,GDATTIM,GLEVEL,GVCORD,GFUNC.
> GEMPAK-GDINFO>e
> [evan@server1 test]$ gpend
> 
> This error was replicated on a separate older machine
> Software: Gempak 5.11.4 (compiled using source, gfortran)
> Hardware: Ubuntu Server 9.04, 500 MHZ
> 
> No error occurred when running on another machine with the following specs:
> Software: Gempak 5.11.1 (compiled using binary, g77)
> Hardware: CentOS, Dell PowerEdge 2950 32bit 2 x Dual Core Intel Xeon 5130, 
> 2.0GHz 4MB cache 1333MHz FSB 4GB RAM
> 
> The following files are attached:
> temp2.csh
> day7.grd
> day8.grd
> 
> Regards,
> Evan Lowery
> 
> 


Ticket Details
===================
Ticket ID: KBG-822692
Department: Support GEMPAK
Priority: Normal
Status: Open


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690