Skip to content
Snippets Groups Projects
Commit f417b524 authored by CHABOUREAU Jean-Pierre's avatar CHABOUREAU Jean-Pierre
Browse files

Jean-Pierre 21/11/2016: a few updates for RTTOV

parent ff0f8afb
No related branches found
No related tags found
No related merge requests found
...@@ -986,8 +986,34 @@ git clone -b 2014.01 https://github.com/forefireAPI/firefront.git ...@@ -986,8 +986,34 @@ git clone -b 2014.01 https://github.com/forefireAPI/firefront.git
# -------------------------------------- # --------------------------------------
# #
# The RTTOV package was not included into the open source version of Meso-NH # The RTTOV package was not included into the open source version of Meso-NH
# because it needs a licence agrement . # because it needs a licence agrement.
# #
# ----------------------------------
# OPTION 1: Use version 11.3 of RTTOV
# -----------------------------------
# Download the RTTOV package rttov113.tar.gz by following the instructions given on http://nwpsaf.eu/site/software/rttov/
#
# Install the RTTOV package rttov113.tar.gz
cd MNH.../src/LIB
mkdir RTTOV-11.3
cd RTTOV-11.3
tar xvfz rttov113.tar.gz
cd src
make ARCH=ifort # Use Intel "ifort" compiler; other options: gfortran, NAG, pgf90, IBM
#
# And then for the compilation, run the 'configure' script preceded with the setting of the MNH_RTTOV variable:
#
cd MNH.../src/
export MNH_RTTOV=1
export VER_RTTOV=11.3
./configure
etc ...
# ----------------------------------
# OPTION 2: Use version 8.7 of RTTOV
# ----------------------------------
# For already(old) licencied MesoNH users (MNH-4-X version with research licence see here: http://mesonh.aero.obs-mip.fr/mesonh410/UserInformation) # For already(old) licencied MesoNH users (MNH-4-X version with research licence see here: http://mesonh.aero.obs-mip.fr/mesonh410/UserInformation)
# #
# the package could be reloaded in this way # the package could be reloaded in this way
...@@ -1014,6 +1040,7 @@ tar xvfz RTTOV.tar.gz ...@@ -1014,6 +1040,7 @@ tar xvfz RTTOV.tar.gz
cd MNH.../src/ cd MNH.../src/
export MNH_RTTOV=1 export MNH_RTTOV=1
export VER_RTTOV=8.7
./configure ./configure
etc ... etc ...
......
...@@ -162,12 +162,12 @@ INC += $(INC_RTTOV) ...@@ -162,12 +162,12 @@ INC += $(INC_RTTOV)
CPPFLAGS += $(CPPFLAGS_RTTOV) CPPFLAGS += $(CPPFLAGS_RTTOV)
CPPFLAGS_MNH += -DMNH_RTTOV_8=MNH_RTTOV_8 CPPFLAGS_MNH += -DMNH_RTTOV_8=MNH_RTTOV_8
endif endif
ifeq "$(VER_RTTOV)" "11.1" ifeq "$(VER_RTTOV)" "11.3"
DIR_RTTOV=${SRC_MESONH}/src/LIB/RTTOV-${VER_RTTOV} DIR_RTTOV=${SRC_MESONH}/src/LIB/RTTOV-${VER_RTTOV}
RTTOV_PATH=${DIR_RTTOV} RTTOV_PATH=${DIR_RTTOV}
# #
INC_RTTOV ?= -I${RTTOV_PATH}/include -I${RTTOV_PATH}/mod INC_RTTOV ?= -I${RTTOV_PATH}/include -I${RTTOV_PATH}/mod
LIB_RTTOV ?= -L${RTTOV_PATH}/lib -lrttov11.1.0_coef_io -lrttov11.1.0_mw_scatt -lrttov11.1.0_main LIB_RTTOV ?= -L${RTTOV_PATH}/lib -lrttov11_coef_io -lrttov11_mw_scatt -lrttov11_main
INC += $(INC_RTTOV) INC += $(INC_RTTOV)
LIBS += $(LIB_RTTOV) LIBS += $(LIB_RTTOV)
VPATH += $(RTTOV_PATH)/mod VPATH += $(RTTOV_PATH)/mod
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment