HEG latest version installation, modisL1L2 product batch processing, splicing

notes, for reference only

1. Installation

Download URL https://wiki.earthdata.nasa.gov/pages/viewpage.action?pageId=170800766
Reference URL, installation tutorial: https://zhuanlan.zhihu.com/p/50904570
insert image description here

Note that it should be placed in a path without spaces, unzip

Double-click install.bat
insert image description here
insert image description here
and pay attention to the path with / or + space "\"
insert image description here
C:\Program Files\Java\jdk-11.0.2\bin
(cmd to check the java version and installation path: java -verbose)
insert image description here
and press Enter
insert image description here

Shortcut creation (change icon)

  1. A file HEGTool.bat is created during installation in
    the HEG\HEG_Win\bin directory.
  2. Go into this bin directory, where the HEGTool.bat file is located, and
    right click on HEGTool.bat. Click Create Shortcut.
    You can change the icon for this shortcut in step 6.
  3. Right-click the HEGTool.bat shortcut. Click
    Properties, then click the Change icon. Now click
    Browse and select the file "heg.ico" in the HEG_Win\bin
    directory
  4. Run HEG Double-click the shortcut you created or
    HEGTool.bat in the HEG_Win\bin directory.

2. Description

Tool Description Address: (Super Practical)
https://wiki.earthdata.nasa.gov/display/DAS/HEG%3A++HDF-EOS+to+GeoTIFF+Conversion+Tool
Processable 04 Aerosol Data:
MOD04_L2 ( versions 3, 4, 5, 6, 51) = MODIS/Terra Aerosol 5-Min L2 Swath 10km
MOD04_3K: MODIS Terra Near Real Time NRT Level 2 aerosol product
MyD04_3K: MODIS Aqua Near Real Time NRT Level 2 aerosol product

Installation tutorial: https://zhuanlan.zhihu.com/p/50904570

insert image description here
insert image description here
Select the image to be spliced.
insert image description here
After saving, it is a txt file, a Unix encoded (this is very important) txt file, which can be opened with Notepad. The processing parameters are recorded
here, and then what we need to do is to change the parameters in batches and call HEG to process .
These parameters need to be modified

NUMBER_INPUTFILES number of files
INPUT_FILENAMES file name (multiple file names are separated by '|')
OUTPUT_FILENAME output file name
OUTPUT_STITCHED_FILENAME This line belongs to the output path of the process file. Although NO is selected, it will still output to you when calling in batches , it is recommended to delete this line (does not affect the operation of the program)

Guess you like

Origin blog.csdn.net/weixin_44083023/article/details/122722526