Coder Social home page Coder Social logo

xingge0130 / aerosol Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ninganme/aerosol

0.0 0.0 0.0 254.55 MB

气溶胶反演

License: GNU General Public License v3.0

Python 16.21% Shell 6.25% C++ 0.28% Pawn 0.47% Fortran 38.47% Makefile 0.30% C 36.47% Pascal 0.59% NASL 0.96%

aerosol's Introduction

安装

1. 修改imapp/env/imapp_modisl2.bash_env的MODIS_L2_HOME路径为imapp路径

source $MODIS_L2_HOME/env/imapp_modisl2.bash_env

2. 将ftp://ftp.ssec.wisc.edu/pub/eosdb/ancillary下载的数据放到$LOCAL_ANC_DIR

开发测试

测试MODIS的L2

先将ancillary文件夹中的数据cp到$MODIS_L2_HOME/ancillary文件夹中

modis_level2.csh aqua $MODIS_L2_HOME/test_data/modis_l2_test_input/a1.17299.1910.1000m.hdf  $MODIS_L2_HOME/test_data/modis_l2_test_output

测试couldmask.exe

# 必须进入文件目录,不能使用绝对路径
cd $MODIS_L2_HOME/test_data/cloudmask_test_input/
cloudmask.exe a1.17299.1910.mod35.cfg aqua $MODIS_L2_HOME/test_data/cloudmask_test_input/

测试aerosol.exe

# 必须进入文件目录,不能使用绝对路径
cd $MODIS_L2_HOME/test_data/aerosol_test_input/
aerosol.exe a1.17299.1910.mod04.cfg aqua 10

开发编译

要求:4.7 <= gfortran版本 < 8.0 yum install gcc-gfortran apt-get install gfortran

source imapp/env/imapp_modisl2.bash_env
cd imapp/src/aerosol/src
make clean
make
cp -f aerosol.exe ../../../bin/aerosol.exe

开发DEBUG

修改include/mod04.inc

NUMCELLS修改为210,大于sample / 10 将ISWATH修改为2100,大于sample

dbvm安装

修改~/.bashrz, 添加export DBVM_HOME=/home/modis/dbvm

cd $DBVM_HOME/scripts
install_dbvm.bash

测试dbvm

dbvm_test.bash

小赖版本

source ./env/imapp.bash_env

将aod_b01_aerosol.exe放到 ./script 文件夹下 将lib 和lib64 解压到 ./env/lib 和./env/lib64

aerosol's People

Contributors

ninganme avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.