SMOS Grid Point Export

SMOS Grid Point Export

The Grid Point Export Command can be used to write the data of selected DGG grid points into a CSV formatted text file. Individual values are separated by a semicolon.

Grid Point Export in VISAT

Grid Point Export

Source Product(s): Either the SMOS product selected in VISAT, or all SMOS products residing in a directory of the file system can be used for export. The search for SMOS products may optionally include subdirectories.

Region of Interest: There are three possibilities for specifying a region of interest (ROI) considered for export:

Target File: The file, which receives the CSV output. The amount of data can be huge, depending on the ROI selected and the number of source products traversed.

Grid Point Export on the Command Line

The command line tool for exporting grid point data resides in the bin directory of your BEAM installation. Depending on your system platform, type

    ${BEAM_HOME}/bin/export-grid-points.bat
  
    ${BEAM_HOME}/bin/export-grid-points.sh
  

or

    ${BEAM_HOME}/bin/export-grid-points.command
  

in order to obtain a usage message. The grid points, for which data is exported can be defined by either a latitude-longitude box or a latitude-longitude point. For instance, type

    export-grid-points.sh -point 1.0 7.0 SM_TEST_MIR_SCLF1C_20070223T061043_20070223T061105_310_001_0
  

for exporting the data of a single grid point. Type

    export-grid-points.sh -box -10.0 10.0 -20.0 20.0 SM_TEST_MIR_SCLF1C_20070223T061043_20070223T061105_310_001_0
  

For exporting all grid points contained in a latitude-longitude box. The target file can defined by means of the -o option. If a target file is not defined, the output is dumped to the console. For example, type

    export-grid-points.sh -point 1.0 7.0 -o export.csv SM_TEST_MIR_SCLF1C_20070223T061043_20070223T061105_310_001_0
  

Using more than a single SMOS product as source is possible. The usual shell completion can be used to specify multiple product files. For example

    export-grid-points.sh -point 1.0 7.0 -o export.csv SM_????_MIR_SCLD1C_2010*
  

to export only SMOS land dual-polarisation science products for 2010.