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

20031126: Problem with gdedit/gdcfil



>From: "Robert J. Ballentine" <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200311261652.hAQGqiEH017147

>  This message is in MIME format.  The first part should be readable text,
>  while the remaining parts are likely unreadable without MIME-aware tools.
>  Send mail to address@hidden for more info.
>
>---559023410-851401618-1069865559=:19185
>Content-Type: TEXT/PLAIN; charset=US-ASCII
>
>Support:
>   I am trying to create a vector wind plot using simple
>u- and v-components that I generate myself.
>   I ran gdcfil to create a gempak grid file called
>wind.grd, and then I try to run gdedit to add the UWND
>and VWND grids to the wind.grd file from my text files
>called uwnd and vwnd.
>   I keep getting the error message:
>[GDEDIT -3]  Valid grid identifier not found.
>   I do not know how to interpret this message.  Is there
>something wrong with the way I created wind.grd, or is
>there something wrong with my format in the file uwnd?
>   I have enclosed a script called ged which lists my
>procedure and the contents of the file uwnd.
>   Any advice will be appreciated.
>   Thanks,
>   Bob Ballentine
>

Bob,

I only had to make 2 small changes.

1) Had to format your dattim to YYMMDD/HHNN (you had DDHHYY).

2) Added the Scale factor in the header.

Below is the modified file.
I created the grid file in gdcfil with PROJ=CED, KXKY=21;21
and the GRDAREA you provided.

Steve Chiswell





031126/1600          10   HGHT   UWND
COLUMNS: 1  21            ROWS: 1  21

 Scale factor: 10**0
 
ROW  21
     -5.00     -4.50     -4.00     -3.50     -3.00     -2.50     -2.00
     -1.50     -1.00     -0.50      0.00      0.50      1.00      1.50
      2.00      2.50      3.00      3.50      4.00      4.50      5.00
ROW  20
     -5.00     -4.50     -4.00     -3.50     -3.00     -2.50     -2.00
     -1.50     -1.00     -0.50      0.00      0.50      1.00      1.50
      2.00      2.50      3.00      3.50      4.00      4.50      5.00
ROW  19
     -5.00     -4.50     -4.00     -3.50     -3.00     -2.50     -2.00
     -1.50     -1.00     -0.50      0.00      0.50      1.00      1.50
      2.00      2.50      3.00      3.50      4.00      4.50      5.00
ROW  18
     -5.00     -4.50     -4.00     -3.50     -3.00     -2.50     -2.00
     -1.50     -1.00     -0.50      0.00      0.50      1.00      1.50
      2.00      2.50      3.00      3.50      4.00      4.50      5.00
ROW  17
     -5.00     -4.50     -4.00     -3.50     -3.00     -2.50     -2.00
     -1.50     -1.00     -0.50      0.00      0.50      1.00      1.50
      2.00      2.50      3.00      3.50      4.00      4.50      5.00
ROW  16
     -5.00     -4.50     -4.00     -3.50     -3.00     -2.50     -2.00
     -1.50     -1.00     -0.50      0.00      0.50      1.00      1.50
      2.00      2.50      3.00      3.50      4.00      4.50      5.00
ROW  15
     -5.00     -4.50     -4.00     -3.50     -3.00     -2.50     -2.00
     -1.50     -1.00     -0.50      0.00      0.50      1.00      1.50
      2.00      2.50      3.00      3.50      4.00      4.50      5.00
ROW  14
     -5.00     -4.50     -4.00     -3.50     -3.00     -2.50     -2.00
     -1.50     -1.00     -0.50      0.00      0.50      1.00      1.50
      2.00      2.50      3.00      3.50      4.00      4.50      5.00
ROW  13
     -5.00     -4.50     -4.00     -3.50     -3.00     -2.50     -2.00
     -1.50     -1.00     -0.50      0.00      0.50      1.00      1.50
      2.00      2.50      3.00      3.50      4.00      4.50      5.00
ROW  12
     -5.00     -4.50     -4.00     -3.50     -3.00     -2.50     -2.00
     -1.50     -1.00     -0.50      0.00      0.50      1.00      1.50
      2.00      2.50      3.00      3.50      4.00      4.50      5.00
ROW  11
     -5.00     -4.50     -4.00     -3.50     -3.00     -2.50     -2.00
     -1.50     -1.00     -0.50      0.00      0.50      1.00      1.50
      2.00      2.50      3.00      3.50      4.00      4.50      5.00
ROW  10
     -5.00     -4.50     -4.00     -3.50     -3.00     -2.50     -2.00
     -1.50     -1.00     -0.50      0.00      0.50      1.00      1.50
      2.00      2.50      3.00      3.50      4.00      4.50      5.00
ROW   9
     -5.00     -4.50     -4.00     -3.50     -3.00     -2.50     -2.00
     -1.50     -1.00     -0.50      0.00      0.50      1.00      1.50
      2.00      2.50      3.00      3.50      4.00      4.50      5.00
ROW   8
     -5.00     -4.50     -4.00     -3.50     -3.00     -2.50     -2.00
     -1.50     -1.00     -0.50      0.00      0.50      1.00      1.50
      2.00      2.50      3.00      3.50      4.00      4.50      5.00
ROW   7
     -5.00     -4.50     -4.00     -3.50     -3.00     -2.50     -2.00
     -1.50     -1.00     -0.50      0.00      0.50      1.00      1.50
      2.00      2.50      3.00      3.50      4.00      4.50      5.00
ROW   6
     -5.00     -4.50     -4.00     -3.50     -3.00     -2.50     -2.00
     -1.50     -1.00     -0.50      0.00      0.50      1.00      1.50
      2.00      2.50      3.00      3.50      4.00      4.50      5.00
ROW   5
     -5.00     -4.50     -4.00     -3.50     -3.00     -2.50     -2.00
     -1.50     -1.00     -0.50      0.00      0.50      1.00      1.50
      2.00      2.50      3.00      3.50      4.00      4.50      5.00
ROW   4
     -5.00     -4.50     -4.00     -3.50     -3.00     -2.50     -2.00
     -1.50     -1.00     -0.50      0.00      0.50      1.00      1.50
      2.00      2.50      3.00      3.50      4.00      4.50      5.00
ROW   3
     -5.00     -4.50     -4.00     -3.50     -3.00     -2.50     -2.00
     -1.50     -1.00     -0.50      0.00      0.50      1.00      1.50
      2.00      2.50      3.00      3.50      4.00      4.50      5.00
ROW   2
     -5.00     -4.50     -4.00     -3.50     -3.00     -2.50     -2.00
     -1.50     -1.00     -0.50      0.00      0.50      1.00      1.50
      2.00      2.50      3.00      3.50      4.00      4.50      5.00
ROW   1
     -5.00     -4.50     -4.00     -3.50     -3.00     -2.50     -2.00
     -1.50     -1.00     -0.50      0.00      0.50      1.00      1.50
      2.00      2.50      3.00      3.50      4.00      4.50      5.00