Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
5bc2576
Add ability to capture useful radiosonde QC info (#1015)
gthompsnJCSDA Aug 8, 2022
650f86f
Bugfix/omi ompsnm converter get files correctly at beginning of windo…
karpob Aug 9, 2022
af4c7f7
Add a new group in the IODA format for L2 products with averaging ker…
Aug 9, 2022
7245350
Feature/modis aod from h4 (#942)
Aug 10, 2022
5fda6b2
Add geometric height options for geovals (#1024)
CoryMartin-NOAA Aug 12, 2022
62f926d
A fix for SYNOP data containing BUFR subsets (#1021)
gthompsnJCSDA Aug 19, 2022
38fe4cf
Fix combine obsspace bug (#1027)
CoryMartin-NOAA Aug 19, 2022
4b2882a
Updated with ioda engines header file name change (Factory.h -> Engin…
srherbener Aug 24, 2022
737d63e
Modified tests for MacOS SIP compatibility. (#1011)
srherbener Aug 24, 2022
c0c89d1
Changes in L2 trace gas retrievals converters for column operator gen…
Aug 30, 2022
6f4fcfb
Added satbias converter for gmi_gpm. (#1042)
gmao-jjin3 Sep 7, 2022
9627a0b
add ompslpnc for geos adas along with cleanup. (#1043)
karpob Sep 8, 2022
c62a530
tropomi better flags handling (#1037)
Sep 9, 2022
65dd5be
Add variable for GNSS bending angle data, save orginal GSI QC flags a…
gmao-jjin3 Sep 14, 2022
e8d925b
Replaced "land_type_index" by "land_type_index_NPOESS" (#921)
gmao-jjin3 Sep 19, 2022
a29e124
add capability to create MOPITT IODA files for DA window (#1039)
Sep 19, 2022
eb59448
Feature/query cxx (#1006)
rmclaren Sep 21, 2022
7549287
change from two composition related ctest to nonzero tolerances (#1064)
BenjaminRuston Sep 24, 2022
884fe53
bugfix (#1065)
Sep 24, 2022
f6f3b01
fix typo index (#1057)
Sep 26, 2022
d837699
Feature/query dim naming bug (#1040)
rmclaren Sep 26, 2022
5c37996
ioda converter for synthetic SWOT observations (#1058)
kbhargava Sep 26, 2022
2369f2f
Fix reference to oz_sensors in proc_gsi_ncdiag (#1053)
CoryMartin-NOAA Sep 26, 2022
6119cc6
Add ability to convert Text radiosonde data (TEMP format) to IODA (#1…
gthompsnJCSDA Sep 27, 2022
bcdaf9c
Updated viirs_aod2ioda.py to include nchans for channel number (#1046)
andytangborn Sep 27, 2022
24fc60c
Feature/query cxx types (#1044)
rmclaren Sep 27, 2022
2578d8e
Feature/pace l1b converter (#1062)
HamidehGMAO Sep 28, 2022
b2b1f13
Feature/query labeled dims (#1055)
rmclaren Sep 29, 2022
e5c6e8d
Obs error fix (#1070)
ADCollard Oct 3, 2022
8e8d7bd
Adding soil depth to two smap ioda converters (#1075)
YoulongXia-NOAA Oct 24, 2022
dc4a574
amsr2 ice concentration converter (#1079)
ShastriPaturi Oct 24, 2022
15520ba
L4 NSIDC CDR ice concentration converter (#1081)
ShastriPaturi Oct 24, 2022
3cb3398
Using a best guesstimate of launch time, height, and wind components,…
gthompsnJCSDA Oct 28, 2022
388d673
Adding the option to write obserror_covariances into obserror2ioda (#…
fabiolrdiniz Nov 2, 2022
267bdca
remove unused netCDF4 import (#1108)
BenjaminRuston Nov 6, 2022
7c697ed
Modernize the GOES converter (python) to prepare for more widespread …
gthompsnJCSDA Nov 7, 2022
dcdf610
Changes to dateTime constructed from reference_time and time_offset (…
gthompsnJCSDA Nov 10, 2022
eb3c22e
Merge branch 'develop' into feature/sprint_greg_november
gthompsnWRF Nov 12, 2022
31d380b
fix datetime variable
gthompsnWRF Nov 13, 2022
0c87a25
fix dateTime in tropomi
gthompsnWRF Nov 13, 2022
9dffd07
fix dateTime and update test ref files
gthompsnWRF Nov 13, 2022
6fa78a0
updating synop converter and test ref file to data conventions, again
gthompsnWRF Nov 13, 2022
0374261
updating sonde (legacy text) converter and test reference file for da…
gthompsnWRF Nov 13, 2022
fc4a427
renaming decode_raob_LDM; updating sonde (BUFR) converter and test re…
gthompsnWRF Nov 13, 2022
cd98341
update for data conventions; changes to dateTime included
gthompsnWRF Nov 13, 2022
b56beac
updated ostia_l4sst for data conventions
gthompsnWRF Nov 13, 2022
33ab30f
fixing AMDAR, buoy, and ship again for data conventions (after mergin…
gthompsnWRF Nov 13, 2022
afcc20b
fixing metar test ref file
gthompsnWRF Nov 13, 2022
301690f
revert properly back to sourceFiles (naming convention)
gthompsnWRF Nov 13, 2022
72c9d45
fixing absolute to relative path
gthompsnWRF Nov 13, 2022
320daa8
eliminate unitless from synop
gthompsnWRF Nov 14, 2022
2fec3b4
strip out global attribute of Location
gthompsnWRF Nov 14, 2022
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: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@ src/ncep/xx120 filter=lfs diff=lfs merge=lfs -text
*.grib2 filter=lfs diff=lfs merge=lfs -text
test/testinput/bufr_tables/** filter=lfs diff=lfs merge=lfs -text
*.radiosonde filter=lfs diff=lfs merge=lfs -text
*.dump filter=lfs diff=lfs merge=lfs -text
*.prepbufr filter=lfs diff=lfs merge=lfs -text
17 changes: 3 additions & 14 deletions CI/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,14 @@ set( ENABLE_MPI ON CACHE BOOL "Compile with MPI" )

ecbuild_bundle_initialize()

ecbuild_bundle( PROJECT jedicmake GIT "https://github.com/JCSDA-internal/jedi-cmake.git" )
include( jedicmake/cmake/Functions/git_functions.cmake )

# ECMWF libs
# ----------
option("BUNDLE_SKIP_ECKIT" "Don't build eckit" "ON" ) # Skip eckit build unless user passes -DBUNDLE_SKIP_ECKIT=OFF
option("BUNDLE_SKIP_FCKIT" "Don't build fckit" "ON") # Build fckit unless user passes -DBUNDLE_SKIP_FCKIT=OFF
option("BUNDLE_SKIP_ATLAS" "Don't build atlas" "ON") # Build atlas unless user passes -DBUNDLE_SKIP_ATLAS=OFF

ecbuild_bundle( PROJECT eckit GIT "https://github.com/ecmwf/eckit.git" TAG 1.16.0 )
ecbuild_bundle( PROJECT fckit GIT "https://github.com/ecmwf/fckit.git" TAG 0.9.2 )
ecbuild_bundle( PROJECT atlas GIT "https://github.com/ecmwf/atlas.git" TAG 0.24.1 )
#ecbuild_bundle( PROJECT jedicmake GIT "https://github.com/JCSDA-internal/jedi-cmake.git" )
#include( jedicmake/cmake/Functions/git_functions.cmake )
include( /opt/view/share/jedicmake/Functions/git_functions.cmake )

# Core JEDI repositories
ecbuild_bundle( PROJECT oops GIT "https://github.com/JCSDA-internal/oops.git" )
ecbuild_bundle( PROJECT ioda GIT "https://github.com/JCSDA-internal/ioda.git" )


# If IODA branch is being built set GIT_BRANCH_FUNC to IODA's current branch.
# If a tagged version of IODA is being built set GIT_TAG_FUNC to ioda's current tag. In this case,
# IODA test files will be download from UCAR DASH and ioda-data repo will not be cloned.
Expand All @@ -52,7 +42,6 @@ endif()
branch_checkout (REPO_DIR_NAME ioda-data
BRANCH ${GIT_BRANCH_FUNC} )


# Build IODA converters

ecbuild_bundle( PROJECT iodaconv GIT "https://github.com/JCSDA-internal/ioda-converters.git" )
Expand Down
46 changes: 22 additions & 24 deletions CI/buildspec_clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,6 @@ phases:
- echo $CODEBUILD_WEBHOOK_ACTOR_ACCOUNT_ID
- echo $CODEBUILD_WEBHOOK_EVENT
- echo $CODEBUILD_RESOLVED_SOURCE_VERSION
- pip install xarray
- echo $PATH
- echo $LD_LIBRARY_PATH
- echo $PYTHONPATH
- export PYTHONPATH=/usr/local/lib:/usr/local/lib/python3.8/site-packages

# read cdash url from s3
- wget https://ci-test-cdash-url.s3.amazonaws.com/cdash_url.txt
Expand All @@ -28,7 +23,6 @@ phases:
# Codebuild only runs on PUSH events if HEAD_REF
# is refs/heads/develop (merge to develop). In this
# case CODEBUILD_GIT_BRANCH="develop"

- if [ "$CODEBUILD_WEBHOOK_EVENT" = "PUSH" ];
then export CODEBUILD_GIT_BRANCH="develop";
echo "Merging to develop";
Expand All @@ -46,17 +40,12 @@ phases:
pre_build:
commands:
- echo Executing pre_build phase
- git lfs install
- mkdir /build_container
- mkdir -p /jcsda/ioda-bundle
- mkdir /build_container

- git lfs install
- cd CI

# Upload branch name and commit sha as CodeBuild artifact to S3
- mkdir -p /jcsda/artifacts
- echo ${CODEBUILD_GIT_BRANCH} > /jcsda/artifacts/branch_name.txt
- echo ${CODEBUILD_RESOLVED_SOURCE_VERSION} > /jcsda/artifacts/commit_sha.tx

# Setting git credentials
- sed -i '/ssh/d' ~/.gitconfig
- sed '/instead/d' ~/.gitconfig
Expand All @@ -65,50 +54,59 @@ phases:
- chmod 0700 ~/.git-credentials
- echo "https://${GIT_USER}:${GIT_PASS}@github.com" >~/.git-credentials


# Upload branch name and commit sha as CodeBuild artifact to S3
- mkdir -p /jcsda/artifacts
- echo ${CODEBUILD_GIT_BRANCH} > /jcsda/artifacts/branch_name.txt
- echo ${CODEBUILD_RESOLVED_SOURCE_VERSION} > /jcsda/artifacts/commit_sha.txt

# ioda-converters (testing repo)
- ./clone.sh jcsda-internal/ioda-converters $CODEBUILD_GIT_BRANCH /jcsda/ioda-bundle iodaconv ${GIT_BASE_BRANCH} develop

# jedi-cmake
- ./clone.sh jcsda-internal/jedi-cmake $CODEBUILD_GIT_BRANCH /jcsda/ioda-bundle jedicmake ${GIT_BASE_BRANCH} develop

# oops
# oops
- ./clone.sh jcsda-internal/oops $CODEBUILD_GIT_BRANCH /jcsda/ioda-bundle oops ${GIT_BASE_BRANCH} develop

# ioda
# ioda
- ./clone.sh jcsda-internal/ioda $CODEBUILD_GIT_BRANCH /jcsda/ioda-bundle ioda ${GIT_BASE_BRANCH} develop

# ioda-data
- ./clone.sh jcsda-internal/ioda-data $CODEBUILD_GIT_BRANCH /jcsda/ioda-bundle ioda-data ${GIT_BASE_BRANCH} develop

# move CMakeLists.txt from ioda-converters/CI to bundle directory
- cp CMakeLists.txt /jcsda/ioda-bundle
- cp -r cmake /jcsda/ioda-bundle/
- cp /jcsda/ioda-bundle/cmake/CTestConfig.cmake /jcsda/ioda-bundle/
- sed -i "s@CDASH_URL@$CDASH_URL@g" /jcsda/ioda-bundle/CTestConfig.cmake
- ls /jcsda/ioda-bundle/

build:
on-failure: CONTINUE
commands:
- echo Executing build phase
- export BUILD_STATUS="0"
- echo $BUILD_STATUS
- echo $CODEBUILD_BUILD_SUCCEEDING

- cd /build_container
- ecbuild -Wno-dev -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCDASH_OVERRIDE_SITE=CodeBuild -DCDASH_OVERRIDE_GIT_BRANCH=$CODEBUILD_GIT_BRANCH -DCTEST_UPDATE_VERSION_ONLY=FALSE -DUSE_ECCODES=ON /jcsda/ioda-bundle
- source /etc/profile.d/z10_spack_environment.sh
- ecbuild -Wno-dev -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCDASH_OVERRIDE_SITE=CodeBuild -DCDASH_OVERRIDE_SYSTEM_NAME=ClangContainer -DCDASH_OVERRIDE_GIT_BRANCH=$CODEBUILD_GIT_BRANCH -DCTEST_UPDATE_VERSION_ONLY=FALSE -DUSE_ECCODES=ON /jcsda/ioda-bundle

# Build ioda
- cd /build_container/ioda
- cp ../DartConfiguration.tcl .
- sed -i 's/ioda-bundle/ioda-bundle\/ioda/' DartConfiguration.tcl
- sed -i 's/build_container/build_container\/ioda/' DartConfiguration.tcl
- cat DartConfiguration.tcl
- ctest -C RelWithDebInfo -V -D ExperimentalBuild -j4

# Build ioda-converters
- cd /build_container/iodaconv
- cp ../DartConfiguration.tcl .
- sed -i 's/ioda-bundle/ioda-bundle\/iodaconv/' DartConfiguration.tcl
- sed -i 's/build_container/build_container\/iodaconv/' DartConfiguration.tcl
- cat DartConfiguration.tcl

- ctest -C RelWithDebInfo -V -D ExperimentalBuild -j4

- export BUILD_STATUS="0"
- echo $BUILD_STATUS
- echo $CODEBUILD_BUILD_SUCCEEDING

- if [ "$CODEBUILD_BUILD_SUCCEEDING" = "1" ];
then export BUILD_STATUS="1";
echo "Build passed";
Expand Down
84 changes: 41 additions & 43 deletions CI/buildspec_gnu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,10 @@ phases:
- echo $CODEBUILD_WEBHOOK_ACTOR_ACCOUNT_ID
- echo $CODEBUILD_WEBHOOK_EVENT
- echo $CODEBUILD_RESOLVED_SOURCE_VERSION
- pip install xarray
- echo $PATH
- echo $LD_LIBRARY_PATH
- echo $LIBRARY_PATH
- echo $PYTHONPATH

# Codebuild only runs on PUSH events if HEAD_REF
# is refs/heads/develop (merge to develop). In this
# case CODEBUILD_GIT_BRANCH="develop"

- if [ "$CODEBUILD_WEBHOOK_EVENT" = "PUSH" ];
then export CODEBUILD_GIT_BRANCH="develop";
echo "Merging to develop";
Expand All @@ -46,14 +40,9 @@ phases:
on-failure: CONTINUE
commands:
- echo Executing pre_build phase
- git lfs install # creates .gitconfig
- mkdir -p /jcsda/ioda-bundle

# Upload branch name and commit sha as CodeBuild artifact to S3
- mkdir -p /jcsda/artifacts
- echo ${CODEBUILD_GIT_BRANCH} > /jcsda/artifacts/branch_name.txt
- echo ${CODEBUILD_RESOLVED_SOURCE_VERSION} > /jcsda/artifacts/commit_sha.txt

- git lfs install
- cd CI

# Setting git credentials
Expand All @@ -64,21 +53,24 @@ phases:
- chmod 0700 ~/.git-credentials
- echo "https://${GIT_USER}:${GIT_PASS}@github.com" >~/.git-credentials

# Upload branch name and commit sha as CodeBuild artifact to S3
- mkdir /jcsda/artifacts
- echo ${CODEBUILD_GIT_BRANCH} > /jcsda/artifacts/branch_name.txt
- echo ${CODEBUILD_RESOLVED_SOURCE_VERSION} > /jcsda/artifacts/commit_sha.txt

# ioda-converters (testing repo)
- ./clone.sh jcsda-internal/ioda-converters $CODEBUILD_GIT_BRANCH /jcsda/ioda-bundle iodaconv ${GIT_BASE_BRANCH} develop

# jedi-cmake
- ./clone.sh jcsda-internal/jedi-cmake $CODEBUILD_GIT_BRANCH /jcsda/ioda-bundle jedicmake ${GIT_BASE_BRANCH} develop

# oops
# oops
- ./clone.sh jcsda-internal/oops $CODEBUILD_GIT_BRANCH /jcsda/ioda-bundle oops ${GIT_BASE_BRANCH} develop

# ioda
# ioda
- ./clone.sh jcsda-internal/ioda $CODEBUILD_GIT_BRANCH /jcsda/ioda-bundle ioda ${GIT_BASE_BRANCH} develop

# ioda-data
- ./clone.sh jcsda-internal/ioda-data $CODEBUILD_GIT_BRANCH /jcsda/ioda-bundle ioda-data ${GIT_BASE_BRANCH} develop

# move CMakeLists.txt from ioda-converters/CI to bundle directory
- cp CMakeLists.txt /jcsda/ioda-bundle
- cp -r cmake /jcsda/ioda-bundle/
- cp /jcsda/ioda-bundle/cmake/CTestConfig.cmake /jcsda/ioda-bundle/
Expand All @@ -87,51 +79,57 @@ phases:

build:
commands:
- su - jedi -c "cd /home/jedi
&& echo $CC
&& echo $CXX
&& echo $FC
&& CC=mpicc CXX=mpicxx FC=mpifort ecbuild -Wno-dev -DCDASH_OVERRIDE_SITE=CodeBuild -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCDASH_OVERRIDE_GIT_BRANCH=$CODEBUILD_GIT_BRANCH -DCTEST_UPDATE_VERSION_ONLY=FALSE -DENABLE_GPROF=ON -DUSE_ECCODES=ON /jcsda/ioda-bundle/"

- su - jedi -c "cd /home/jedi/ioda
&& echo $CC
&& echo $CXX
&& echo $FC
- echo Executing build phase
- export BUILD_STATUS="0"
- echo $BUILD_STATUS
- echo $CODEBUILD_BUILD_SUCCEEDING

# configure and build
- su - nonroot -c "cd /home/nonroot
&& ls
&& export FC=mpifort
&& export CC=mpicc
&& export CXX=mpicxx
&& ecbuild -Wno-dev -DCDASH_OVERRIDE_SITE=CodeBuild -DCDASH_OVERRIDE_SYSTEM_NAME=GNUContainer -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCDASH_OVERRIDE_GIT_BRANCH=$CODEBUILD_GIT_BRANCH -DCTEST_UPDATE_VERSION_ONLY=FALSE -DENABLE_GPROF=ON -DUSE_ECCODES=ON /jcsda/ioda-bundle/"

- su - nonroot -c "cd /home/nonroot/ioda
&& export FC=mpifort
&& export CC=mpicc
&& export CXX=mpicxx
&& cp ../DartConfiguration.tcl .
&& sed -i 's/ioda-bundle/ioda-bundle\/ioda/' DartConfiguration.tcl
&& sed -i 's/jedi/jedi\/ioda/' DartConfiguration.tcl
&& sed -i 's/nonroot/nonroot\/ioda/' DartConfiguration.tcl
&& cat DartConfiguration.tcl
&& ctest -C RelWithDebInfo -V -D ExperimentalBuild -j4"

- su - jedi -c "cd /home/jedi/iodaconv
&& echo $CC
&& echo $CXX
&& echo $FC
- su - nonroot -c "cd /home/nonroot/iodaconv
&& export FC=mpifort
&& export CC=mpicc
&& export CXX=mpicxx
&& cp ../DartConfiguration.tcl .
&& sed -i 's/ioda-bundle/ioda-bundle\/iodaconv/' DartConfiguration.tcl
&& sed -i 's/jedi/jedi\/iodaconv/' DartConfiguration.tcl
&& sed -i 's/nonroot/nonroot\/iodaconv/' DartConfiguration.tcl
&& cat DartConfiguration.tcl
&& ctest -C RelWithDebInfo -V -D ExperimentalBuild -j4"


- if [ "$CODEBUILD_BUILD_SUCCEEDING" = "1" ];
then export BUILD_STATUS="1";
echo "Build passed";
fi
- echo $BUILD_STATUS

# run ctest
- su - jedi -c "CC=mpicc CXX=mpicxx FC=mpifort
&& export PATH=/usr/local/bin:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
&& export LD_LIBRARY_PATH=/usr/local/lib:/jedi/home/lib
&& export PYTHONPATH=/usr/local/lib:/usr/local/lib/python3.8/site-packages:$PYTHONPATH
&& cd /home/jedi/iodaconv
- su - nonroot -c "cd /home/nonroot/iodaconv
&& export FC=mpifort
&& export CC=mpicc
&& export CXX=mpicxx
&& ctest -C RelWithDebInfo -D ExperimentalTest"

finally:
# upload ctest report to CDASH
- su - jedi -c "CC=mpicc CXX=mpicxx FC=mpifort
&& cd /home/jedi/iodaconv
- su - nonroot -c "cd /home/nonroot/iodaconv
&& export FC=mpifort
&& export CC=mpicc
&& export CXX=mpicxx
&& ctest -C RelWithDebInfo -D ExperimentalSubmit -M Continuous -- --track Continuous --group Continuous"

post_build:
Expand All @@ -143,7 +141,7 @@ phases:
# upload find cdash url and upload it as CodeBuild artifact to S3
- if [ "$BUILD_STATUS" = "1" ];
then echo "Build & tests passed, find cdash url";
url=$(bash /jcsda/ioda-bundle/iodaconv/CI/cdash-url.sh /home/jedi/iodaconv/Testing $CDASH_URL);
url=$(bash /jcsda/ioda-bundle/iodaconv/CI/cdash-url.sh /home/nonroot/iodaconv/Testing $CDASH_URL);
echo $url;
echo ${url} > /jcsda/artifacts/cdash-url.txt;
cat /jcsda/artifacts/cdash-url.txt;
Expand Down
Loading