Import CSV Product |

### Import CSV Product

The CSV product reader enables the Sentinel Toolbox to import simple CSV files into the SNAP product model. See here for a description of the expected data format.

Note that the CSV Product Reader interprets all columns as band if it has not the data type time or string. The following data types are supported for bands float, double, byte, short, integer. There is no support yet for metadata, tie-point grids, flag codings, or spectral attributes.

If the data contains columns for latitude values ("lat", "latitude", "northing") and for longitude values ("lon", "long", "longitude", "easting") a geo-coding will be created using this data.

If for one cell no data is present it can either be indicated by NaN or simply by leaving the cell empty.

There are a number of reserved properties which may be set within the file.The properties are written as comments into the CSV file. Normally at the beginning of the file. The general format to specify a property is as follows:
`#PropertyName=PropertyValue`

- separator: When this property is set, e.g. using `#separator=;`, the specified separator is being used for parsing the file. By default the data values are separated by tabulator characters.
- sceneRasterWidth: Per default, the product will have quadratic dimensions, e.g. if the CSV file contains 144 data entries, the product will have width and height 12. If the CSV file contains no square number of data entries, the next higher square number is being used and the added pixels are filled with NaN values. If, however, the property is set, the product's width will be set to the property's value and the height will be computed accordingly.
- timeColumn: In order to provide the product with a start and stop time the column which holds the time information must be specified.
- timePattern: In order to parse the time provided in one of the columns the format can be specified. This must follow the documentation of
  SimpleDateFormat