txt2grid.1



     NAME
          txt2grid - convert text files to clm grid data files for LPJ

     SYNOPSIS
          txt2grid [-h] [-fmt s] [-skip n] [-cellsize size] [-float]
          txtfile gridfile

     DESCRIPTION
          Program converts text files into LPJ grid data files By
          default text files have to be in the following format:

          Id,Lon,Lat,X_CRU,Y_CRU
          1,-179.75,-16.25,1,148
          2,..

     OPTIONS
          -h   display a short help text

          -fmt s
               input format string for the scanf function in txt2grid
               , default is "%*d,%f,%f,%*d,%*d"

          -skip n
               skip first n lines in text file, default is one

          -cellsize size
               set cell size, default is 0.5

          -float
               float lon, lat values written to clm file, default is
               short

          textfile
               filename of text file to convert

          gridfile
               filename of clm grid data file written

     EXAMPLES
          Create clm grid data file:
               txt2grid grid.txt grid.clm

     EXIT STATUS
          txt2grid returns a zero exist status if the clm file is
          created.  Non zero is returned in case of failure.


     AUTHORS
          For authors and contributors see AUTHORS file


     COPYRIGHT
          (C) Potsdam Institute for Climate Impact Research (PIK), see
          COPYRIGHT file


     SEE ALSO
          lpjml(1), txt2clm(1), cru2clm(1), grid2clm(1), catclm(1),
          clm(5)














































Man(1) output converted with man2html