From 68b36368ddce4d6d3a656f00d7c2f3a33f12f155 Mon Sep 17 00:00:00 2001 From: Florian Deconinck Date: Thu, 14 Nov 2024 10:42:19 -0500 Subject: [PATCH] Temporary script to run savepoints --- tests/script/geos_fp/TEMP/run_yppm_xppm.sh | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100755 tests/script/geos_fp/TEMP/run_yppm_xppm.sh diff --git a/tests/script/geos_fp/TEMP/run_yppm_xppm.sh b/tests/script/geos_fp/TEMP/run_yppm_xppm.sh new file mode 100755 index 0000000..9795418 --- /dev/null +++ b/tests/script/geos_fp/TEMP/run_yppm_xppm.sh @@ -0,0 +1,28 @@ +#!/bin/bash + +THIS_DIR=$PWD +TEST_DATA_PATH="../../../../test_data/geos/TEMP_XPPM_YPMM" +mkdir -p $TEST_DATA_PATH +cd $TEST_DATA_PATH + +wget https://portal.nccs.nasa.gov/datashare/astg/smt/geos-fp/translate/11.5.2/x86_GNU/Dycore/TBC_C24_L72_Debug/YPPM-In.nc +wget https://portal.nccs.nasa.gov/datashare/astg/smt/geos-fp/translate/11.5.2/x86_GNU/Dycore/TBC_C24_L72_Debug/YPPM-Out.nc +wget https://portal.nccs.nasa.gov/datashare/astg/smt/geos-fp/translate/11.5.2/x86_GNU/Dycore/TBC_C24_L72_Debug/XPPM-In.nc +wget https://portal.nccs.nasa.gov/datashare/astg/smt/geos-fp/translate/11.5.2/x86_GNU/Dycore/TBC_C24_L72_Debug/XPPM-Out.nc +wget https://portal.nccs.nasa.gov/datashare/astg/smt/geos-fp/translate/11.5.2/x86_GNU/Dycore/TBC_C24_L72_Debug/input.nml +wget https://portal.nccs.nasa.gov/datashare/astg/smt/geos-fp/translate/11.5.2/x86_GNU/Dycore/TBC_C24_L72_Debug/Grid-Info.nc + + +cd $THIS_DIR +rm -r ./.gt_cache_* + +export PACE_FLOAT_PRECISION=32 +export PACE_CONSTANTS=GEOS +export FV3_DACEMODE=Python + +python -m pytest -v -s -x \ + --data_path=$TEST_DATA_PATH \ + --backend=numpy \ + --which_modules=XPPM,YPPM \ + --multimodal_metric \ + ../../../savepoint