This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
>From: Mike Trexler <address@hidden>
>Organization: .
>Keywords: 199910182037.OAA18592
>Steve,
>
>I'm trying create a rather small grid file using gdcfil
>and then putting the data into the grid with gdedit. Is
>there some minimum limit on the size. I tried making a
>2X2 grid which gdcfil did, but then when I tried putting
>data into it, it gave me errors....
>
> [GR -6] Invalid navigation block.
> [GDEDIT -8] The output grid file new.grd is invalid.
>
>Just wondering if you knew.
>
>Thanks
>Mike
>
>--
>__________________________________________________
>**************************************************
>****** C. Michael Trexler ******
>****** N C State Univ. - Box 8208 ******
>****** Dept. of Mar/Earth/Atmos. Sciences ******
>****** Research III Rm. 100 ******
>****** Raleigh, NC 27695-8208 ******
>****** (919) 515-1447 Phone ******
>****** (919) 515-1683 Fax ******
>**************************************************
>--------------------------------------------------
>****** address@hidden ******
>__________________________________________________
>
Mike,
You need at least 3 grid points for both kx,ky due to the requirements
of calculating many of the grid functions.
The gr -6 errtor you get is from grrnav.f which has:
IF ( (ier .ne. 0) .or. (kx .le. 2) .or. (ky .le. 2) ) THEN
iret = -6
RETURN
END IF
Steve Chiswell