From b47251e4b0a68b9b9b78eb2a6725fddb4c9430c8 Mon Sep 17 00:00:00 2001 From: Jiarui Dong Date: Sat, 9 Nov 2024 16:12:50 -0500 Subject: [PATCH 1/2] Add path to the bufr lib. --- jobs/rocoto/snowanl.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jobs/rocoto/snowanl.sh b/jobs/rocoto/snowanl.sh index cf1ddd688b..46e6fcdbfb 100755 --- a/jobs/rocoto/snowanl.sh +++ b/jobs/rocoto/snowanl.sh @@ -14,8 +14,9 @@ export jobid="${job}.$$" ############################################################### # setup python path for ioda utilities # shellcheck disable=SC2311 -pyiodaPATH="${HOMEgfs}/sorc/gdas.cd/build/lib/python$(detect_py_ver)/" -gdasappPATH="${HOMEgfs}/sorc/gdas.cd/sorc/iodaconv/src:${pyiodaPATH}" +pyiodaPATH="${HOMEgfs}/sorc/gdas.cd/build/lib64/python$(detect_py_ver)/" +bufrPATH="${HOMEgfs}/sorc/gdas.cd/build/lib64/python$(detect_py_ver)/site-packages/" +gdasappPATH="${HOMEgfs}/sorc/gdas.cd/sorc/iodaconv/src:${pyiodaPATH}:${bufrPATH}" PYTHONPATH="${PYTHONPATH:+${PYTHONPATH}:}:${gdasappPATH}" export PYTHONPATH From 788cee54ccc4839e56731ff36a21ea5fde9f4a97 Mon Sep 17 00:00:00 2001 From: Jiarui Dong Date: Thu, 14 Nov 2024 18:21:47 -0500 Subject: [PATCH 2/2] Link the python script from GDASApp to global-workflow. --- .gitignore | 1 + sorc/link_workflow.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/.gitignore b/.gitignore index 4ec62993d3..2c546b30ad 100644 --- a/.gitignore +++ b/.gitignore @@ -166,6 +166,7 @@ ush/imsfv3_scf2ioda.py ush/atparse.bash ush/run_bufr2ioda.py ush/bufr2ioda_insitu* +ush/bufr2ioda_sfcsno_bufr_encoder.py # version files versions/build.ver diff --git a/sorc/link_workflow.sh b/sorc/link_workflow.sh index 3d81f7b7d4..4704d8d2c4 100755 --- a/sorc/link_workflow.sh +++ b/sorc/link_workflow.sh @@ -247,6 +247,7 @@ if [[ -d "${HOMEgfs}/sorc/gdas.cd/build" ]]; then ${LINK_OR_COPY} "${HOMEgfs}/sorc/gdas.cd/ush/ioda/bufr2ioda/gen_bufr2ioda_yaml.py" . ${LINK_OR_COPY} "${HOMEgfs}/sorc/gdas.cd/ush/ioda/bufr2ioda/run_bufr2ioda.py" . ${LINK_OR_COPY} "${HOMEgfs}/sorc/gdas.cd/build/bin/imsfv3_scf2ioda.py" . + ${LINK_OR_COPY} "${HOMEgfs}/sorc/gdas.cd/ush/ioda/bufr2ioda/bufr2ioda_sfcsno_bufr_encoder.py" . declare -a gdasapp_ocn_insitu_profile_platforms=("argo" "bathy" "glider" "marinemammal" "tesac" "xbtctd") for platform in "${gdasapp_ocn_insitu_profile_platforms[@]}"; do ${LINK_OR_COPY} "${HOMEgfs}/sorc/gdas.cd/ush/ioda/bufr2ioda/marine/bufr2ioda_insitu_profile_${platform}.py" .