premature end of file in GIRAS" - "file does not exist" - "premature EOF"

Last Published: April 25, 2020

Error Message

When running the GIRASARC command, the following error may occur:"premature end of file in GIRAS
0 out of 0 records read for last section!
error encountered while reading record 2!
unable to convert file
bailing out of girasarc""file does not exist""premature EOF"


The LULC GIRAS files located in the United States Geological Survey (USGS) FTP account don't contain record delimiters; thus, all the data is in one line, which ArcInfo is unable to process.

Solution or Workaround

  • Windows 2000 and Windows XP:

    Break the data into 80-character lines by using the CHOP utility available for download in the Related Information section below. After unzipping the utility, run it at the DOS prompt as follows:

    chop 80 <inputfilename, in brackets> outputfilename

  • UNIX:

    Break the data into 80-character lines by using the 'fold' command.

    fold -80 girasfile > newfile

    It is also possible to use the 'dd' command:

    dd if=inputfilename of=outputfilename ibs=8000 cbs=80 conv=unblock

    Consult the UNIX online help or manuals for precise usages of these commands.

Article ID:000002391

  • ArcMap

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Related Information

Discover more on this topic