lsa saf products: files and formats - dmcsee€¦ · lsa saf products: files and formats ... but...

31
LSA SAF products: files and formats Carla Barroso, IPMA Application of Remote Sensing Data for Drought Monitoring Introduction to Eumetsat LANDSAF Products 11-15 November Slovenia

Upload: duongtu

Post on 20-Jun-2018

220 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

LSA SAF products: files and formats

Carla Barroso, IPMA

Application of Remote Sensing Data for Drought Monitoring

Introduction to Eumetsat LANDSAF Products

11-15 November Slovenia

Page 2: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

� Where to get the data

� Product File Structure

� Quick visualization of products

� GIS tools for visualization & analysis

� LSA SAF Products Coordinate System

� LSASAF Georeferencer Tool

OUTLINE

Page 3: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

How do you obtain LSA SAF

products?

LSA SAF

website, helpdesk

EUMETCast

Page 4: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

How do you obtain LSA SAF

products?

LSA SAF

website, helpdesk

EUMETCast

Page 5: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing
Page 6: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

See Product User Manuals

And also

• Algorithm Theoretical Basis Document

• Validation Report

• Product Output Format

Peer Reviewed Publications

Page 7: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

Product Documentation

� Product User Manual (PUM)

� Main documentation source

− Physical phenomena

− Algorithm basis

− Output data specifications

− Etc.

� Product Output Format (POF)

� Details concerning description of metadata, file naming formats, etc.

� Validation Report (VR)

� Algorithm Theoretical Basis Document (ATBD)

Page 8: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

Product file structure

� LSA SAF products use the HDF5 format

� http://www.hdfgroup.org/

� Hierarchical Data Format (HDF)

� Groups – Containers for datasets and other groups

� Datasets – Multidimensional arrays of a homogeneous type

� Attributes – Metadata on groups and datasets

� HDF files:

� Are self-describing.

� Support n-dimensional datasets

Page 9: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

� LSA SAF HDF5 files:

� A common set of attributes on the root group

− general information

� A dataset for the main product (LST, DSLF, etc)

� Additional datasets for metadata (Quality flags, Error flags, etc.)

� Each dataset may have:

− Specific attributes (Scaling factor, missing value, etc.)

− Different dimensions (Most datasets are 2D)

− Different data types (Most datasets are 16bit signed integers)

Product file structure

Page 10: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

Quick visualization of products

� HDFView software

http://www.hdfgroup.org/hdf-java-html/hdfview/index.html#download_hdfview

� Java-based HDF Viewer

� Inspection of a HDF5's structure and data

� Visualize data in spreadsheet or image mode

� Basic statistics, line plotting and histogram generation

� Export to image formats

Page 11: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

Have you used HDFViewbefore?Yes

Page 12: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

HDFView

1. Datasets

2. Attributes

3. Table View

4. Table options

5. Image view

6. Image options

7. Pixel values

Page 13: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

HDFView

Inspecting file and dataset attributes

Page 14: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

HDFView

� When visualizing products take

note:

1. Cell values are unscaled

2. The 'missing value' values

have no physical meaning

3. Product is not georeferenced

(line, column coordinates only)

Page 15: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

GIS tools for visualization & analysis

� ILWIS

� Direct import of LSASAF products through the GEONETCast toolbox

� Other tools (ArcGIS, Mapinfo, SAGA, etc.)

Page 16: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

ILWIS

� Integrated Land and Water Information System

� http://52north.org/communities/ilwis/

� Open Source GIS software

� Available only for MS Windows (as of now)

� Imports LSA SAF products, using the GEONETCast Toolbox

� Several modules for raster and vector processing

Page 17: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

GEONETCast Toolbox

� GEONETCast Toolbox

� http://52north.org/communities/earth-observation/geonetcast-toolbox-software

� Available as a toolbox for ILWIS

� Developed by ITC – University of Twente

� Enables easy access to and management of GEONETCast data

− various satellite and environmental data and/or resulting products

� Tailored for users running GEONETCast reception stations

Page 18: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

ILWIS/GEONETCast

� Installation

� Follow the GEONETCast Toolbox's user manual

� Read section 1.1 and 1.2 CAREFULLY

Page 19: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

� Importing LSA SAF products

� Beware of file names:

− Files obtained through GEONETCast (EUMETCast)

� S-LSA_-HDF5_LSASAF_MSG_LST_Euro_201111060000.bz2

� Everything will work OK

− Files obtained through LSA SAF's on-demand dissemination

� HDF5_LSASAF_MSG_LST_Euro_201111060000.bz2

� GEONETCast Toolbox expects the 'S-LSA_-' prefix and will throw

errors

� Solutions:

− Uncompress → rename → recompress (time consuming and

boring)

− Modify the GEONETCast's batch import scripts

− Contact LSA SAF's helpdesk and they'll send you the modified scripts

ILWIS/GEONETCast

Page 20: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

Modular user interface, integrating the GEONETCast Toolbox

ILWIS/GEONETCast

Page 21: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

ILWIS/GEONETCast

Use native NGP projection of the LSA SAF products

Page 22: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

� Normalized Geostationary

Projection (NGP)

� Projection of the underlying MSG LRIT source data

� Important parameters for MSG

satellite:

− Satellite height above ellipsoid: 35785831 m

− Central meridian: 0º

� Documented on EUMETSAT's

LRIT and HRIT Global

Specification

− http://www.eumetsat.int/groups/cps/documents/document/pdf_c

gms_03.pdf

LSA SAF Product Coordinate System

Page 23: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

LSA SAF Product Coordinate System

� LSA SAF products hold coordinate system information in the attributes of the

root group

� But HDF5 files have no standard way of defining coordinate systems

� It's hard to automatically import LSA SAF products into a Geographical

Information System (GIS) software AND have the data correctly georeferenced

Page 24: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

Visualization of LSA SAF products

HDFView is nicefor a quick inspection

Some GIS toolscan open HDF5 directly

BUT ...

GIS tools are nice forvisualization, analysis

map making, etc.

Most GIS tools cannotrecognize LSA SAF

coordinate information

The files will not beprojected

It won't be possible tooverlay different data

UNLESS …

Page 25: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

� A graphical tool for georeferencing LSA SAF products

� Still in-development, but already usable

� Open development

� Source code hosted on a public repository

� https://github.com/ricardogsilva/LSASAF-georeferencer

� Uses open source tools

� Python, GDAL, Proj, Qt4

� Multi-platform

LSASAF Georeferencer Tool

Page 26: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

� Convert LSASAF HDF5 files to GeoTiff

� GeoTiff is a Tiff based interchange format for georeferenced raster

imagery

� Reproject from the NGP projection to other coordinate systems

� Apply scaling factor and missing value information to the output file

� Output GeoTiff files are suitable for further processing in GIS software

� Process multiple files simultaneously

LSASAF Georeferencer Tool

Page 27: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

� Graphical Window usage example

1. Select the file(s) to process

2. Load file information

3. Choose the dataset(s) to be

processed

4. Choose the output projection

5. Choose the output directory

6. Process the files

LSASAF Georeferencer Tool

Page 28: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

LSASAF Georeferencer Tool

� Command line usage example

# display usage information

ricardo@geo2:~$ ./georef_hdf5.py -h

# process all the LST files in ~/input_dir

ricardo@geo2:~$ ./georef_hdf5.py -x -o ~/my_output_dir ~/input_dir/*LST*

Page 29: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

4 production areas for MSG

- Europe

- Northern Africa

- Southern Africa

- Southern America

Geostationary Projection

3 km at sub-satellite point

LSA SAF Products

1701 cols x 651 lines

2211 cols x 1151 lines

1211 cols x 1191 lines

701 cols x 1511 lines

Page 30: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

Merging MSG areas

Geostationary Projection

3 km at sub-satellite point

3712 columns x

3712 lines

1550

1240

40

2140

1460

700

1850

50

Form 1 matrix for the whole disk

[3712 x 3712]

taking into account that for LSA SAF areas top line in the disk

is

and left column is

XX

XX

LSA SAF Products

Page 31: LSA SAF products: files and formats - DMCSEE€¦ · LSA SAF products: files and formats ... But HDF5 files have no standard ... Output GeoTiff files are suitable for further processing

Questions/Comments?

[email protected]