modis_quality.rst 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. modis_quality.py
  2. ----------------
  3. **modis_quality.py** checks the quality of MODIS data using the QA layer
  4. Usage
  5. ^^^^^
  6. .. code-block:: none
  7. modis_quality.py [options] input_file destination_file
  8. Options
  9. ^^^^^^^
  10. .. image:: ../_static/gui/modis_quality.png
  11. :scale: 60%
  12. :alt: GUI for modis_quality.py
  13. :align: left
  14. :class: gui
  15. .. code-block:: none
  16. -h, --help show this help message and exit
  17. -o OUTPUT_FILE, --output=OUTPUT_FILE
  18. (Required) the prefix of output file
  19. -t TYPE, --type=TYPE quality type either as number or name (e.g. 1 or
  20. VIQuality for MOD13 products) [default=1]
  21. -l LAYER, --qualitylayer=LAYER
  22. quality layer of the dataset, dependent on the used
  23. MODIS product. (e.g. 1 or QC_Day for the Daytime QC
  24. Layer of MOD11) [default=1]
  25. -p PRODUCT, --producttype=PRODUCT
  26. quality layer of the dataset, dependent on the used
  27. MODIS product. (e.g. 1 or QC_Day for the Daytime QC
  28. Layer of MOD11) [default=MOD13Q1]
  29. Examples
  30. ^^^^^^^^
  31. Extract VI Usefulness value from MOD13 product
  32. .. code-block:: none
  33. modis_quality.py -t 2 infile.hdf -o outfile.tif
  34. Extract shadow mask from MOD13 product
  35. .. code-block:: none
  36. modis_quality.py -t 9 input_file.hdf -o destination_file.tif
  37. Extract Emissitivity error flag of Nighttime LSTE quality control from MOD11C1 product
  38. .. code-block:: none
  39. modis_quality.py -t 4 -l 2 infile.hdf -o outfile.tif
  40. Extract MODLAND QA value from MOD13Q1 mosaic
  41. .. code-block:: none
  42. modis_quality.py -t 1 -p MOD13Q1 input_file.hdf -o destination_file.tif
  43. .. only:: latex
  44. .. raw:: latex
  45. \newpage % hard pagebreak at exactly this position