Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/cd v241 sfc emis #51

Merged
merged 9 commits into from
Aug 25, 2023
20 changes: 14 additions & 6 deletions Get_CRTM_Binary_Files.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
foldername="fix_REL-3.0.0_20230303"
#https://bin.ssec.wisc.edu/pub/s4/CRTM/fix_REL-3.0.0_20230802.tgz
foldername="fix_REL-3.0.0_20230802"

filename="${foldername}.tgz"
if test -f "$filename"; then
Expand All @@ -7,15 +8,22 @@ if test -f "$filename"; then
else
#untar the file and move directory to fix
tar -zxvf $filename
mv $foldername fix
cd $foldername/
mv fix ..
cd ..
rmdir $foldername
echo "fix/ directory created from existing $filename file."
fi
else
#download, untar, move
echo "downloading $filename, please wait about 5 minutes (3.3 GB tar file)"
wget ftp://ftp.ssec.wisc.edu/pub/s4/CRTM/$filename # CRTM binary files, add "-q" to suppress output.
tar -zxvf $filename
mv $foldername fix
echo "Downloading $filename, please wait about 5 minutes (4 GB tar file)"
wget https://bin.ssec.wisc.edu/pub/s4/CRTM/$filename # CRTM binary files, add "-q" to suppress output.

tar -zxvf $filename
cd $foldername/
mv fix ..
cd ..
rmdir $foldername
echo "fix/ directory created from downloaded $filename."
fi
echo "Completed."
31 changes: 20 additions & 11 deletions src/Build/libsrc/make.dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ CRTM_AtmOptics.o : CRTM_AtmOptics.f90 AOvar_Define.o CRTM_AtmOptics_Define.o CRT
CRTM_Atmosphere_Define.o : CRTM_Atmosphere_Define.f90 CRTM_Relative_Humidity.o CRTM_Aerosol_Define.o CRTM_Cloud_Define.o CRTM_Parameters.o Binary_File_Utility.o File_Utility.o Compare_Float_Numbers.o Message_Handler.o Type_Kinds.o
CRTM_Atmosphere.o : CRTM_Atmosphere.f90 iAtm_Define.o CRTM_Model_Profiles.o CRTM_Atmosphere_Define.o CRTM_Parameters.o Message_Handler.o Type_Kinds.o CRTM_Hypsometric.o
CRTM_ChannelInfo_Define.o : CRTM_ChannelInfo_Define.f90 Sort_Utility.o SensorInfo_Parameters.o CRTM_Parameters.o File_Utility.o Message_Handler.o
CRTM_CloudCoeff.o : CRTM_CloudCoeff.f90 CloudCoeff_IO.o CloudCoeff_Define.o Message_Handler.o
CRTM_CloudCoeff.o : CRTM_CloudCoeff.f90 CloudCoeff_IO.o CloudCoeff_Define.o Message_Handler.o
CRTM_CloudCover_Define.o : CRTM_CloudCover_Define.f90 CRTM_Cloud_Define.o CRTM_Atmosphere_Define.o CRTM_Parameters.o Compare_Float_Numbers.o Message_Handler.o File_Utility.o Type_Kinds.o
CRTM_Cloud_Define.o : CRTM_Cloud_Define.f90 Binary_File_Utility.o File_Utility.o Compare_Float_Numbers.o Message_Handler.o Type_Kinds.o
CRTM_CloudScatter.o : CRTM_CloudScatter.f90 CSvar_Define.o CRTM_AtmOptics_Define.o CRTM_Interpolation.o CRTM_GeometryInfo_Define.o CRTM_Atmosphere_Define.o CRTM_CloudCoeff.o CRTM_SpcCoeff.o CRTM_Parameters.o Message_Handler.o Type_Kinds.o
Expand All @@ -43,14 +43,15 @@ CRTM_GeometryInfo_Define.o : CRTM_GeometryInfo_Define.f90 CRTM_Geometry_Define.o
CRTM_GeometryInfo.o : CRTM_GeometryInfo.f90 CRTM_GeometryInfo_Define.o CRTM_Parameters.o Date_Utility.o Message_Handler.o Type_Kinds.o
CRTM_Hypsometric.o : CRTM_Hypsometric.f90 Type_Kinds.o Message_Handler.o Fundamental_Constants.o CRTM_Parameters.o CRTM_Atmosphere_Define.o
CRTM_Interpolation.o : CRTM_Interpolation.f90 Type_Kinds.o
CRTM_IRiceCoeff.o : CRTM_IRiceCoeff.f90 SEcategory_Define.o Message_Handler.o
CRTM_IRiceCoeff.o : CRTM_IRiceCoeff.f90 SEcategory_Define.o SEcategory_IO.o Message_Handler.o
CRTM_IR_Ice_SfcOptics.o : CRTM_IR_Ice_SfcOptics.f90 CRTM_IRiceCoeff.o CRTM_SEcategory.o CRTM_SfcOptics_Define.o CRTM_GeometryInfo_Define.o CRTM_Surface_Define.o CRTM_SpcCoeff.o CRTM_Parameters.o Spectral_Units_Conversion.o Message_Handler.o Type_Kinds.o
CRTM_IRlandCoeff.o : CRTM_IRlandCoeff.f90 SEcategory_Define.o Message_Handler.o
CRTM_IRlandCoeff.o : CRTM_IRlandCoeff.f90 SEcategory_Define.o SEcategory_IO.o Message_Handler.o
CRTM_IR_Land_SfcOptics.o : CRTM_IR_Land_SfcOptics.f90 CRTM_IRlandCoeff.o CRTM_SEcategory.o CRTM_SfcOptics_Define.o CRTM_GeometryInfo_Define.o CRTM_Surface_Define.o CRTM_SpcCoeff.o CRTM_Parameters.o Message_Handler.o Type_Kinds.o
CRTM_IRsnowCoeff.o : CRTM_IRsnowCoeff.f90 SEcategory_Define.o Message_Handler.o
CRTM_IR_Snow_SfcOptics.o : CRTM_IR_Snow_SfcOptics.f90 CRTM_IRsnowCoeff.o CRTM_SEcategory.o CRTM_SfcOptics_Define.o CRTM_GeometryInfo_Define.o CRTM_Surface_Define.o CRTM_SpcCoeff.o CRTM_Parameters.o Spectral_Units_Conversion.o Message_Handler.o Type_Kinds.o
CRTM_IRSnowEM.o : CRTM_IRSnowEM.f90 IRsnowCoeff_Define.o CRTM_Interpolation.o CRTM_Parameters.o Message_Handler.o Type_Kinds.o
CRTM_IRsnowCoeff.o : CRTM_IRsnowCoeff.f90 SEcategory_Define.o SEcategory_IO.o IRsnowCoeff_Define.o IRsnowCoeff_IO.o Message_Handler.o
CRTM_IR_Snow_SfcOptics.o : CRTM_IR_Snow_SfcOptics.f90 CRTM_IRsnowCoeff.o CRTM_SEcategory.o CRTM_IRSnowEM.o CRTM_SfcOptics_Define.o CRTM_GeometryInfo_Define.o CRTM_Surface_Define.o CRTM_SpcCoeff.o CRTM_Parameters.o Spectral_Units_Conversion.o Message_Handler.o Type_Kinds.o
CRTM_IRSSEM.o : CRTM_IRSSEM.f90 IRwaterCoeff_Define.o CRTM_Interpolation.o CRTM_Parameters.o Message_Handler.o Type_Kinds.o
CRTM_IRwaterCoeff.o : CRTM_IRwaterCoeff.f90 IRwaterCoeff_Define.o Message_Handler.o
CRTM_IRwaterCoeff.o : CRTM_IRwaterCoeff.f90 IRwaterCoeff_Define.o IRwaterCoeff_IO.o Message_Handler.o
CRTM_IR_Water_SfcOptics.o : CRTM_IR_Water_SfcOptics.f90 CRTM_IRwaterCoeff.o CRTM_IRSSEM.o CRTM_SfcOptics_Define.o CRTM_GeometryInfo_Define.o CRTM_Surface_Define.o CRTM_SpcCoeff.o CRTM_Parameters.o Message_Handler.o Type_Kinds.o
CRTM_K_Matrix_Module.o : CRTM_K_Matrix_Module.f90 RTV_Define.o ASvar_Define.o CSvar_Define.o AOvar_Define.o CRTM_CloudCover_Define.o CRTM_Planck_Functions.o NLTECoeff_Define.o ACCoeff_Define.o CRTM_NLTECorrection.o CRTM_AerosolCoeff.o CRTM_CloudCoeff.o CRTM_AncillaryInput_Define.o CRTM_MoleculeScatter.o CRTM_AntennaCorrection.o CRTM_RTSolution.o CRTM_SfcOptics.o CRTM_SfcOptics_Define.o CRTM_AtmOptics.o CRTM_CloudScatter.o CRTM_AerosolScatter.o CRTM_AtmOptics_Define.o CRTM_AtmAbsorption.o CRTM_Predictor.o CRTM_Predictor_Define.o CRTM_GeometryInfo.o CRTM_GeometryInfo_Define.o CRTM_Atmosphere.o CRTM_Options_Define.o CRTM_RTSolution_Define.o CRTM_ChannelInfo_Define.o CRTM_Geometry_Define.o CRTM_Surface_Define.o CRTM_Atmosphere_Define.o CRTM_SpcCoeff.o CRTM_Parameters.o Message_Handler.o Type_Kinds.o
CRTM_LifeCycle.o : CRTM_LifeCycle.f90 CRTM_MWwaterCoeff.o CRTM_VISiceCoeff.o CRTM_VISsnowCoeff.o CRTM_VISlandCoeff.o CRTM_VISwaterCoeff.o CRTM_IRiceCoeff.o CRTM_IRsnowCoeff.o CRTM_IRlandCoeff.o CRTM_IRwaterCoeff.o CRTM_CloudCoeff.o CRTM_AerosolCoeff.o CRTM_TauCoeff.o CRTM_SpcCoeff.o CRTM_ChannelInfo_Define.o Message_Handler.o
Expand Down Expand Up @@ -80,13 +81,13 @@ CRTM_Surface_Define.o : CRTM_Surface_Define.f90 CRTM_SensorData_Define.o Binary_
CRTM_Tangent_Linear_Module.o : CRTM_Tangent_Linear_Module.f90 RTV_Define.o ASvar_Define.o CSvar_Define.o AOvar_Define.o CRTM_CloudCover_Define.o CRTM_Planck_Functions.o NLTECoeff_Define.o ACCoeff_Define.o CRTM_NLTECorrection.o CRTM_AerosolCoeff.o CRTM_CloudCoeff.o CRTM_AncillaryInput_Define.o CRTM_MoleculeScatter.o CRTM_AntennaCorrection.o CRTM_RTSolution.o CRTM_SfcOptics.o CRTM_SfcOptics_Define.o CRTM_AtmOptics.o CRTM_CloudScatter.o CRTM_AerosolScatter.o CRTM_AtmOptics_Define.o CRTM_AtmAbsorption.o CRTM_Predictor.o CRTM_Predictor_Define.o CRTM_GeometryInfo.o CRTM_GeometryInfo_Define.o CRTM_Atmosphere.o CRTM_Options_Define.o CRTM_RTSolution_Define.o CRTM_ChannelInfo_Define.o CRTM_Geometry_Define.o CRTM_Surface_Define.o CRTM_Atmosphere_Define.o CRTM_SpcCoeff.o CRTM_Parameters.o Message_Handler.o Type_Kinds.o
CRTM_TauCoeff.o : CRTM_TauCoeff.f90 CRTM_SensorInfo.o ODZeeman_TauCoeff.o TauCoeff_Define.o ODSSU_Define.o ODSSU_TauCoeff.o ODPS_Define.o ODPS_TauCoeff.o ODAS_Define.o ODAS_TauCoeff.o CRTM_Parameters.o Message_Handler.o Binary_File_Utility.o File_Utility.o Type_Kinds.o
CRTM_Utility.o : CRTM_Utility.f90 CRTM_Parameters.o Message_Handler.o Type_Kinds.o
CRTM_VISiceCoeff.o : CRTM_VISiceCoeff.f90 SEcategory_Define.o Message_Handler.o
CRTM_VISiceCoeff.o : CRTM_VISiceCoeff.f90 SEcategory_Define.o SEcategory_IO.o Message_Handler.o
CRTM_VIS_Ice_SfcOptics.o : CRTM_VIS_Ice_SfcOptics.f90 CRTM_VISiceCoeff.o CRTM_SEcategory.o CRTM_SfcOptics_Define.o CRTM_GeometryInfo_Define.o CRTM_Surface_Define.o CRTM_SpcCoeff.o CRTM_Parameters.o Spectral_Units_Conversion.o Message_Handler.o Type_Kinds.o
CRTM_VISlandCoeff.o : CRTM_VISlandCoeff.f90 SEcategory_Define.o Message_Handler.o
CRTM_VISlandCoeff.o : CRTM_VISlandCoeff.f90 SEcategory_Define.o SEcategory_IO.o Message_Handler.o
CRTM_VIS_Land_SfcOptics.o : CRTM_VIS_Land_SfcOptics.f90 CRTM_VISlandCoeff.o CRTM_SEcategory.o CRTM_SfcOptics_Define.o CRTM_GeometryInfo_Define.o CRTM_Surface_Define.o CRTM_SpcCoeff.o CRTM_Parameters.o Spectral_Units_Conversion.o Message_Handler.o Type_Kinds.o
CRTM_VISsnowCoeff.o : CRTM_VISsnowCoeff.f90 SEcategory_Define.o Message_Handler.o
CRTM_VISsnowCoeff.o : CRTM_VISsnowCoeff.f90 SEcategory_Define.o SEcategory_IO.o Message_Handler.o
CRTM_VIS_Snow_SfcOptics.o : CRTM_VIS_Snow_SfcOptics.f90 CRTM_VISsnowCoeff.o CRTM_SEcategory.o CRTM_SfcOptics_Define.o CRTM_GeometryInfo_Define.o CRTM_Surface_Define.o CRTM_SpcCoeff.o CRTM_Parameters.o Spectral_Units_Conversion.o Message_Handler.o Type_Kinds.o
CRTM_VISwaterCoeff.o : CRTM_VISwaterCoeff.f90 SEcategory_Define.o Message_Handler.o
CRTM_VISwaterCoeff.o : CRTM_VISwaterCoeff.f90 SEcategory_Define.o SEcategory_IO.o Message_Handler.o
CRTM_VIS_Water_SfcOptics.o : CRTM_VIS_Water_SfcOptics.f90 CRTM_VISwaterCoeff.o CRTM_SEcategory.o CRTM_SfcOptics_Define.o CRTM_GeometryInfo_Define.o CRTM_Surface_Define.o CRTM_SpcCoeff.o CRTM_Parameters.o Spectral_Units_Conversion.o Message_Handler.o Type_Kinds.o
CSvar_Define.o : CSvar_Define.f90 CRTM_Interpolation.o Binary_File_Utility.o File_Utility.o Compare_Float_Numbers.o Message_Handler.o Type_Kinds.o
DateTime_Utility.o : DateTime_Utility.f90 Date_Utility.o Type_Kinds.o
Expand All @@ -102,7 +103,13 @@ Fundamental_Constants.o : Fundamental_Constants.f90 Type_Kinds.o
Guillou.o : Guillou.f90 Fundamental_Constants.o Type_Kinds.o
Hyperbolic_Step.o : Hyperbolic_Step.f90 Type_Kinds.o
iAtm_Define.o : iAtm_Define.f90 CRTM_Parameters.o Message_Handler.o Type_Kinds.o
IRwaterCoeff_Define.o : IRwaterCoeff_Define.f90 Binary_File_Utility.o File_Utility.o Compare_Float_Numbers.o Message_Handler.o Type_Kinds.o
IRwaterCoeff_Define.o : IRwaterCoeff_Define.f90 Binary_File_Utility.o File_Utility.o Compare_Float_Numbers.o Message_Handler.o Type_Kinds.o
IRwaterCoeff_netCDF_IO.o : IRwaterCoeff_netCDF_IO.f90 IRwaterCoeff_Define.o String_Utility.o File_Utility.o Message_Handler.o Type_Kinds.o
IRwaterCoeff_IO.o : IRwaterCoeff_IO.f90 IRwaterCoeff_netCDF_IO.o IRwaterCoeff_Define.o File_Utility.o Message_Handler.o Type_Kinds.o
IRsnowCoeff_Define.o : IRsnowCoeff_Define.f90 Binary_File_Utility.o File_Utility.o Compare_Float_Numbers.o Message_Handler.o Type_Kinds.o
IRsnowCoeff_Binary_IO.o : IRsnowCoeff_Binary_IO.f90 IRsnowCoeff_Define.o String_Utility.o File_Utility.o Message_Handler.o Type_Kinds.o
IRsnowCoeff_netCDF_IO.o : IRsnowCoeff_netCDF_IO.f90 IRsnowCoeff_Define.o String_Utility.o File_Utility.o Message_Handler.o Type_Kinds.o
IRsnowCoeff_IO.o : IRsnowCoeff_IO.f90 IRsnowCoeff_netCDF_IO.o IRsnowCoeff_Binary_IO.o IRsnowCoeff_Define.o File_Utility.o Message_Handler.o Type_Kinds.o
Large_Scale_Correction_Module.o : Large_Scale_Correction_Module.f90 CRTM_Interpolation.o FitCoeff_Define.o Type_Kinds.o
Liu.o : Liu.f90 Fundamental_Constants.o Type_Kinds.o
LSEatlas_Define.o : LSEatlas_Define.f90 Binary_File_Utility.o File_Utility.o Compare_Float_Numbers.o Message_Handler.o Type_Kinds.o
Expand Down Expand Up @@ -165,6 +172,8 @@ Reflection_Correction_Module.o : Reflection_Correction_Module.f90 FitCoeff_Defin
RTV_Define.o : RTV_Define.f90 CRTM_SfcOptics.o SensorInfo_Parameters.o CRTM_Parameters.o Message_Handler.o Type_Kinds.o
Search_Utility.o : Search_Utility.f90 Message_Handler.o Type_Kinds.o
SEcategory_Define.o : SEcategory_Define.f90 Binary_File_Utility.o File_Utility.o Compare_Float_Numbers.o Message_Handler.o Type_Kinds.o
SEcategory_netCDF_IO.o : SEcategory_netCDF_IO.f90 SEcategory_Define.o String_Utility.o File_Utility.o Message_Handler.o Type_Kinds.o
SEcategory_IO.o : SEcategory_IO.f90 SEcategory_netCDF_IO.o SEcategory_Define.o File_Utility.o Message_Handler.o Type_Kinds.o
SensorInfo_Parameters.o : SensorInfo_Parameters.f90
Slope_Variance.o : Slope_Variance.f90 Hyperbolic_Step.o Type_Kinds.o
Small_Scale_Correction_Module.o : Small_Scale_Correction_Module.f90 FitCoeff_Define.o Type_Kinds.o
Expand Down
8 changes: 5 additions & 3 deletions src/Build/libsrc/make.filelist
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,9 @@ FSRC_FILES = \
AerosolCoeff_Define.f90 AerosolCoeff_Binary_IO.f90 AerosolCoeff_netCDF_IO.f90 AerosolCoeff_IO.f90 \
CRTM_Options_Define.f90 \
CRTM_AOD_Module.f90 \
IRwaterCoeff_Define.f90 \
SEcategory_Define.f90 \
IRwaterCoeff_Define.f90 IRwaterCoeff_IO.f90 IRwaterCoeff_netCDF_IO.f90 \
IRsnowCoeff_Define.f90 IRsnowCoeff_IO.f90 IRsnowCoeff_netCDF_IO.f90 IRsnowCoeff_Binary_IO.f90 \
SEcategory_Define.f90 SEcategory_IO.f90 SEcategory_netCDF_IO.f90\
LSEatlas_Define.f90 \
MWwaterCoeff_Define.f90 \
FitCoeff_Define.f90 \
Expand Down Expand Up @@ -88,7 +89,7 @@ FSRC_FILES = \
CRTM_SfcOptics.f90 \
CRTM_IR_Land_SfcOptics.f90 CRTM_IR_Water_SfcOptics.f90 CRTM_IR_Snow_SfcOptics.f90 CRTM_IR_Ice_SfcOptics.f90 \
CRTM_MW_Land_SfcOptics.f90 CRTM_MW_Water_SfcOptics.f90 CRTM_MW_Snow_SfcOptics.f90 CRTM_MW_Ice_SfcOptics.f90 \
CRTM_VIS_Land_SfcOptics.f90 CRTM_VIS_Water_SfcOptics.f90 CRTM_VIS_Snow_SfcOptics.f90 CRTM_VIS_Ice_SfcOptics.f90 \
CRTM_VIS_Land_SfcOptics.f90 CRTM_VIS_Water_SfcOptics.f90 CRTM_VIS_Snow_SfcOptics.f90 CRTM_VIS_Ice_SfcOptics.f90 \
CRTM_SEcategory.f90 \
CRTM_LowFrequency_MWSSEM.f90 \
CRTM_Fastem1.f90 \
Expand All @@ -100,6 +101,7 @@ FSRC_FILES = \
Guillou.f90 Ellison.f90 Liu.f90 \
Fresnel.f90 \
CRTM_IRSSEM.f90 \
CRTM_IRSnowEM.f90 \
CRTM_AtmOptics.f90 CRTM_AtmOptics_Define.f90 AOvar_Define.f90 \
CRTM_Planck_Functions.f90 \
RTV_Define.f90 \
Expand Down
9 changes: 9 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,17 @@ list( APPEND crtm_src_files
Coefficients/CRTM_VISwaterCoeff.f90
Coefficients/EmisCoeff/IR_Land/LSEatlas/LSEatlas_Define.f90
Coefficients/EmisCoeff/IR_Water/IRwaterCoeff_Define.f90
Coefficients/EmisCoeff/IR_Water/IRwaterCoeff_IO.f90
Coefficients/EmisCoeff/IR_Water/IRwaterCoeff_netCDF_IO.f90
Coefficients/EmisCoeff/IR_Snow/IRsnowCoeff_Define.f90
Coefficients/EmisCoeff/IR_Snow/IRsnowCoeff_IO.f90
Coefficients/EmisCoeff/IR_Snow/IRsnowCoeff_Binary_IO.f90
Coefficients/EmisCoeff/IR_Snow/IRsnowCoeff_netCDF_IO.f90
Coefficients/EmisCoeff/MW_Water/MWwaterCoeff_Define.f90
Coefficients/EmisCoeff/MW_Water/MWwaterLUT/MWwaterLUT_Define.f90
Coefficients/EmisCoeff/SEcategory/SEcategory_Define.f90
Coefficients/EmisCoeff/SEcategory/SEcategory_IO.f90
Coefficients/EmisCoeff/SEcategory/SEcategory_netCDF_IO.f90
Coefficients/FitCoeff/FitCoeff_Define.f90
Coefficients/FitCoeff/FitCoeff_Destroy.inc
Coefficients/FitCoeff/FitCoeff_Equal.inc
Expand Down Expand Up @@ -141,6 +149,7 @@ list( APPEND crtm_src_files
SfcOptics/CRTM_VIS_Snow_SfcOptics.f90
SfcOptics/CRTM_VIS_Water_SfcOptics.f90
SfcOptics/IR_Water/IRSSEM/CRTM_IRSSEM.f90
SfcOptics/IR_Snow/CRTM_IRSnowEM.f90
SfcOptics/MW_Water/FASTEM_MWSSEM/Azimuth_Emissivity_F6_Module.f90
SfcOptics/MW_Water/FASTEM_MWSSEM/Azimuth_Emissivity_Module.f90
SfcOptics/MW_Water/FASTEM_MWSSEM/CRTM_Fastem1.f90
Expand Down
Loading