modis数据介绍_MODIS数据处理工具HEG安装教程

modis数据介绍_MODIS数据处理⼯具HEG安装教程
MODIS数据在遥感领域⼴泛使⽤,对于新⼿⽽⾔,其特有的坐标系让⼈摸不着头脑。当新⼿好不容易理解了坐标系,并使⽤简单的仿射变换矩阵做了投影转换,却发现投影转换后的tif影像不够精确,进⼀步使⽤数据时就会受到影响。
好在NASA官⽅提供的HEG(HDF-EOS To GeoTIFF Conversion Tool)⼯具,⽅便⽤户对HDF-EOS对象重定格式、重新投影和执⾏拼接/拼接和裁剪操作。它还可以重定格式和重新投影⼀些SMAP、VIIRS和SRTM产品。加上其直观的操作界⾯(虽然很丑),或者简单的命令⾏模式,为新⼿带来福⾳。
HEG是MRT⼯具的替代版本,其运⾏流程具有很⼤的相似性,对于熟悉MRT⼯具的⽼⼿们,很容易转换到HEG。
每个⼈对数据的处理需求都有差别,今天先整理分享HEG安装⽅法。
1. 下载软件包。HEG的官⽅⽹站已迁移⾄新的位置HEG官⽅⽹站,感兴趣的可以看管⽹介绍内容,如果没兴趣也不要紧,点击
Download,进⼊下载界⾯。官⽅提供了Windows、Linux、MacOS三种操作系统的适配版本,以及⽤户说明书,选择⾃⼰适合的版本下载即可,我使⽤的是Linux版本,就下载hegLNX64v2.15.Build9.。
近期重新安装的时候,发现官⽹上⽆法正常下载,最后是留学在外的朋友帮忙下载的,现在分享给⼤家,含Linux和Windows版本的软件以及⽤户⼿册。HEG软件⽹盘链接如下:
提取码:j9xp
2. 安装之前,需要检查系统的java环境是否满⾜,⼀般都会有⾃带的,如果没有,需要⾃⾏安装java环境。
#查看java版本
java -version
linux系统安装java环境,参考:
万猫学社:详解在Linux系统中安装JDK z huanlan.zhihu
3. 然后解压安装包,会⽣成heg.tar和install两个⽂件。接着输⼊./install,运⾏安装程序;在线检测系统
tar -xzvf hegLNX64v2.15.Build9.
./install
3. 安装过程中,根据提⽰,需要指定安装位置和java位置,最后随便输⼊⼀个⽤户名即可⼤功告成。
HDF-EOS To GeoTIFF Conversion Tool (HEG) Installation
----------------------------------------------------------
To install the HEG Tool:
1. The heg.tar file must be present in the current directory.
2. You must know the directory path where the HEG is to be installed.
3. You must know the path to the Java bin directory on your system.
Do you wish to proceed with the HEG v2.15 Build 9.8 installation? [y/n]
y
Where would you like to install HEG?
葱白薄膜
IMPORTANT NOTE:
Be sure to give an absolute directory path, without special characters.
For example: /home/faculty/jsmith/heg
To install HEG in a subdirectory of the current directory, just press the ENTER key.
Enter the HEG directory path:
Directory does not exist. Create /software/heg? [y/n]
y
.....Making directory /software/heg
.....Moving heg.tar to /software/heg
.
....Untarring heg.tar
README
bin/HEG
bin/HEG.jar
bin/gdtif
bin/hegtool
bin/resample
bin/subset_stitch_grid
bin/subset_stitch_swath
bin/swtif
bin/subsample_grid
bin/locatemodistile
bin/HEConvert
bin/ncconvert
data/conus.las
data/conus.los
data/counties.IDX
data/File_Sinusoidal_projection_SW.pdf
data/Geoggrid_world.jpg
data/MCF_file
data/MCF_file
data/nad27sp
data/nad27sp_be
data/nad27sp_le
data/nad83sp
data/nad83sp_be
data/nad83sp_le
data/sinusoid_world.jpg
data/spc.IDX
data/states.IDX
data/User_Strebe_WikimediaCommons.pdf
TOOLKIT_MTD/bin/
TOOLKIT_MTD/bin/winnt98/
TOOLKIT_MTD/bin/winnt98/pgs-dev-env.ksh
TOOLKIT_MTD/database/
TOOLKIT_MTD/database/common/
TOOLKIT_MTD/database/common/TD/
TOOLKIT_MTD/database/common/TD/leapsec.dat
TOOLKIT_MTD/database/common/CSC/
TOOLKIT_MTD/database/common/CSC/earthfigure.dat  TOOLKIT_MTD/database/common/CSC/utcpole.dat
TOOLKIT_MTD/database/common/EPH/
TOOLKIT_MTD/database/common/EPH/sc_tags.dat
TOOLKIT_MTD/database/common/CUC/
TOOLKIT_MTD/database/common/CUC/udunits.dat
TOOLKIT_MTD/database/common/CBP/
TOOLKIT_MTD/database/common/s
TOOLKIT_MTD/include/
TOOLKIT_MTD/include/PGS_tk.h
TOOLKIT_MTD/include/PGS_IO_L0_Wrap.h
TOOLKIT_MTD/include/PGS_CUC.h
TOOLKIT_MTD/include/makefile.CM
TOOLKIT_MTD/include/PGS_PC.h
TOOLKIT_MTD/include/PGS_AUX.h
TOOLKIT_MTD/include/PGS_IO_Gen_Wrap.h
TOOLKIT_MTD/include/PGS_PC.f
TOOLKIT_MTD/include/PGS_EPH.h
TOOLKIT_MTD/include/PGS_PC_Prototypes.h
TOOLKIT_MTD/include/PGS_MEM1.h
TOOLKIT_MTD/include/PGS_tk.f
TOOLKIT_MTD/include/PGS_TDF.h
TOOLKIT_MTD/include/PGS_math.h
TOOLKIT_MTD/include/makefile.cpp
TOOLKIT_MTD/include/PGS_TD_Prototypes.h
TOOLKIT_MTD/include/CUC/
TOOLKIT_MTD/include/CUC/utscan.h
TOOLKIT_MTD/include/CUC/makefile.CM
TOOLKIT_MTD/include/CUC/udunits_prototypes.h
TOOLKIT_MTD/include/CUC/odlparse.h
TOOLKIT_MTD/include/CUC/odldef_prototypes.h
TOOLKIT_MTD/include/CUC/odldef.h
TOOLKIT_MTD/include/CUC/udunits.h
TOOLKIT_MTD/include/CUC/utprivate.h
TOOLKIT_MTD/include/CUC/makefile.cpp
TOOLKIT_MTD/include/CUC/odlinter.h
TOOLKIT_MTD/include/CUC/makefile.CM.cpp
三十六脚湖TOOLKIT_MTD/include/CUC/udposix.h
TOOLKIT_MTD/include/CUC/utparse.h
TOOLKIT_MTD/include/CUC/udalloc.h
TOOLKIT_MTD/include/makefile.CM.cpp
TOOLKIT_MTD/include/cfortran.h
TOOLKIT_MTD/include/PGS_MET.f
TOOLKIT_MTD/include/PGS_IO.h
TOOLKIT_MTD/include/PGS_IO.h
TOOLKIT_MTD/include/PGS_TD.f
TOOLKIT_MTD/include/PGS_IO.f
TOOLKIT_MTD/include/PGS_MEM.h
TOOLKIT_MTD/include/PGS_TYPES.h
TOOLKIT_MTD/include/PGS_SMF.f
TOOLKIT_MTD/include/PGS_TD.h
TOOLKIT_MTD/include/PGS_IO_Gen.h
TOOLKIT_MTD/include/PGS_IO_L0.h
TOOLKIT_MTD/include/PGS_MET.h
TOOLKIT_MTD/include/PGS_SMF.h
TOOLKIT_MTD/include/PGS_CBP.h
TOOLKIT_MTD/include/PGS_CSC.h
TOOLKIT_MTD/include/tk_proto.h
TOOLKIT_MTD/lib/
TOOLKIT_MTD/lib/sgi32/
TOOLKIT_MTD/lib/sgi32/libPGSTK.a
TOOLKIT_MTD/lib/linux32/
TOOLKIT_MTD/lib/linux32/libPGSTK.a
TOOLKIT_MTD/lib/sun5/
TOOLKIT_MTD/lib/sun5/libPGSTK.a
TOOLKIT_MTD/lib/sun5.8/
TOOLKIT_MTD/lib/sun5.8/libPGSTK.a
TOOLKIT_MTD/lib/winnt98/
TOOLKIT_MTD/lib/winnt98/libPGSTK.a
net linkTOOLKIT_MTD/runtime/
TOOLKIT_MTD/runtime/configfile.dat
中韩渔业协定
TOOLKIT_MTD/src/
TOOLKIT_MTD/src/PGS_MET_GetSetFileIdName.c
TOOLKIT_MTD/src/PGS_MET_GetPCAttr.c
bin/images/downarrow.gif
bin/images/uparrow.gif
bin/findoutputgridcorners
bin/libjhdf5.so
bin/libjhdf.so
bin/HEG_Batch_Tool_Unix
bin/sinusoid_world.jpg
bin/Geoggrid_world.jpg
bin/geotiff_to_netcdf
-- Untar executed successfully! --
Where is your java bin directory located?
IMPORTANT NOTE:
Give an absolute path, without special characters.
For example: /usr/java/bin
Enter the path to your java bin directory:
/
usr/bin
-- Found /usr/bin/java! --
.....Testing java version.
openjdk version "1.8.0_252"
OpenJDK Runtime Environment (build 1.8.0_252-b09)
OpenJDK 64-Bit Server VM (build 25.252-b09, mixed mode)
***********************************************************************
* IMPORTANT! The Java version must be 64 bit and 1.8 or greater.      *  *                                                                    *
* If your Java version is less than 1.8, ask your sysadmin to install *
* the latest version of Java, and reinstall HEG. Also if your java is *
* 32-bit, the HEG GUI Field image viewing will fail.                  *
* 32-bit, the HEG GUI Field image viewing will fail.                  *
***********************************************************************
Please enter a username to be used internally by HEG, (e.g. BOB):
user
*****************************************************************
*      Congratulations! You have successfully installed        *
* HDF-EOS To GeoTIFF Conversion Tool (HEG) v2.15 Build 9.8 on your system! *
*****************************************************************
To start HEG, type "HEG" at the command line in the
following directory:
/software/heg/bin/
4. 安装完成后,配置环境变量。除了给系统PATH添加HEG的bin⽬录之外,还需要配置MRTDATADIR、PGSHOME、MRTBINDIR三个⽬录,可参考下列我的例⼦。
甘地主义export HEG_ROOT=/software/heg
export PATH=$HEG_ROOT/bin:$PATH
export PGSHOME=$HEG_ROOT/TOOLKIT_MTD
export MRTDATADIR=$HEG_ROOT/data
export MRTBINDIR=$HEG_ROOT/data
5. 运⾏,输⼊HEG,可以弹出界⾯,是不是很丑?不过其功能是很强⼤的,具体使⽤⽅法参考userguide了。
⽐较粗糙的总结,纯属为了给⾃⼰作个笔记,同时与各位交流学习。

本文发布于:2024-09-22 09:46:04,感谢您对本站的认可!

本文链接:https://www.17tex.com/xueshu/374451.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:安装   系统   数据   投影   版本   下载   需要
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2024 Comsenz Inc.Powered by © 易纺专利技术学习网 豫ICP备2022007602号 豫公网安备41160202000603 站长QQ:729038198 关于我们 投诉建议