![]() |
EOMasters Toolbox Basic | ![]() |
You use GPT and need to specify a data format name, but you don't know which are supported by SNAP? The "ioformats" command will help you.
snap --ioformats
snap64 --ioformats
To prevent the GUI and splash screen from showing, add also
--nogui
and --nosplash
This will give you a list of all readable and writable data formats. For each element is formatted like:
ClassName (package path) Description: A short description Format Names: List of format names File Extensions: List of file extensionsFollowing snippets of the output:
Readable Data Formats: ACE2_5MinReaderPlugIn (org.esa.snap.dem.dataio.ace2_5min) Description: ACE2 Data Product Tile Format Names: ACE2 File Extensions: .ACE2 ACEReaderPlugIn (org.esa.snap.dem.dataio.ace) Description: ACE Data Product Tile Format Names: ACE File Extensions: .ACE AatsrLevel1ProductReaderPlugIn (eu.esa.opt.dataio.s3.aatsr) Description: (A)ATSR Level 1 in Sentinel-3 product format Format Names: ATS_L1_S3 File Extensions: .xml Alos2GeoTiffProductReaderPlugIn (eu.esa.sar.io.ceos.alos2) Description: ALOS-2 GeoTIFF data product. Format Names: ALOS-2 GeoTIFF File Extensions: tif, tiff, zip Alos2ProductReaderPlugIn (eu.esa.sar.io.ceos.alos2) Description: ALOS-2 CEOS Products Format Names: ALOS-2 CEOS File Extensions: ... Writable Data Formats: BMPDriverProductWriterPlugIn (org.esa.snap.dataio.gdal.writer.plugins) Description: MS Windows Device Independent Bitmap Format Names: GDAL-BMP-WRITER File Extensions: .bmp BTDriverProductWriterPlugIn (org.esa.snap.dataio.gdal.writer.plugins) Description: VTP .bt (Binary Terrain) 1.3 Format Format Names: GDAL-BT-WRITER File Extensions: .bt BeamNetCdf4WriterPlugIn (org.esa.snap.dataio.netcdf.metadata.profiles.beam) Description: BEAM NetCDF4 products Format Names: NetCDF4-BEAM File Extensions: .nc BigGeoTiffProductWriterPlugIn (org.esa.snap.dataio.bigtiff) Description: GeoTIFF / BigTIFF data product Format Names: GeoTIFF-BigTIFF File Extensions: .tif, .tiff COGDriverProductWriterPlugIn (org.esa.snap.dataio.gdal.writer.plugins) Description: Cloud Optimized GeoTIFF Format Names: GDAL-COG-WRITER File Extensions: .tif ...