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

updated internal versioning to be v3.1.0 in preparation for release. #92

Merged
merged 1 commit into from
Oct 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Copyright and License: see LICENSE

cmake_minimum_required( VERSION 3.12 )
project( crtm VERSION 3.0.0 LANGUAGES Fortran )
project( crtm VERSION 3.1.0 LANGUAGES Fortran )

option(OPENMP "Build crtm with OpenMP support" ON)

Expand Down
30 changes: 16 additions & 14 deletions Get_CRTM_Binary_Files.sh
Original file line number Diff line number Diff line change
@@ -1,29 +1,31 @@
#https://bin.ssec.wisc.edu/pub/s4/CRTM/fix_REL-3.0.0_20230802.tgz
foldername="fix_REL-3.0.0_20230802"
#https://bin.ssec.wisc.edu/pub/s4/CRTM/file/crtm_coefficients_3.1.0_skylab_7.0.tar.gz
foldername="3.1.0_skylab_7.0"
filename="crtm_coefficients_${foldername}.tar.gz"
echo "$filename"
break

filename="${foldername}.tgz"
if test -f "$filename"; then
if [ -d "fix/" ]; then #fix directory exists
echo "fix/ already exists, doing nothing."
else
#untar the file and move directory to fix
tar -zxvf $filename
cd $foldername/
mv fix ..
cd ..
rmdir $foldername
mkdir fix
mv crtm/$foldername/* fix/.
rm -rf $foldername
echo "fix/ directory created from existing $filename file."
fi
else
#download, untar, move
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.
wget https://bin.ssec.wisc.edu/pub/s4/CRTM/file/$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."

#untar the file and move directory to fix
tar -zxvf $filename
mkdir fix
mv crtm/$foldername/* fix/.
rm -rf crtm/$foldername
echo "fix/ directory created from downloaded $filename."
fi
echo "Completed."
Loading