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

Prepare GTS snow depth observations for JEDI-based Land DA #541

Merged
merged 60 commits into from
Jul 24, 2023
Merged
Show file tree
Hide file tree
Changes from 59 commits
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
c2f5659
Update to new stable build on 20230424
CoryMartin-NOAA Apr 24, 2023
5f5f39d
Update to new stable build on 20230428
CoryMartin-NOAA Apr 28, 2023
f9c7e44
Update to new stable build on 20230428
CoryMartin-NOAA Apr 28, 2023
a36ac33
Update CMakeLists.txt
CoryMartin-NOAA Apr 28, 2023
fee9a6f
Update to new stable build on 20230428
CoryMartin-NOAA Apr 28, 2023
7746838
Merge branch 'develop' into feature/stable-nightly
CoryMartin-NOAA Apr 28, 2023
0058ca3
Update to new stable build on 20230429
CoryMartin-NOAA Apr 29, 2023
dd9f838
Update to new stable build on 20230430
CoryMartin-NOAA Apr 30, 2023
766b4d0
Update to new stable build on 20230501
CoryMartin-NOAA May 1, 2023
da646d2
Update to new stable build on 20230501
CoryMartin-NOAA May 1, 2023
50740f1
Update to new stable build on 20230502
CoryMartin-NOAA May 2, 2023
f592e46
Update to new stable build on 20230503
CoryMartin-NOAA May 3, 2023
e98bf88
Update to new stable build on 20230504
CoryMartin-NOAA May 4, 2023
bd68e1b
Merge branch 'develop' into feature/stable-nightly
CoryMartin-NOAA May 9, 2023
71ffa84
Update to new stable build on 20230509
CoryMartin-NOAA May 9, 2023
2586a7c
Merge branch 'develop' into feature/stable-nightly
CoryMartin-NOAA May 10, 2023
4ac96b9
Update to new stable build on 20230510
CoryMartin-NOAA May 10, 2023
e77c556
Update to new stable build on 20230511
CoryMartin-NOAA May 11, 2023
ab6f06d
Update to new stable build on 20230512
CoryMartin-NOAA May 12, 2023
56bcbf2
Merge branch 'develop' into feature/stable-nightly
CoryMartin-NOAA May 16, 2023
81675c9
Update to new stable build on 20230516
CoryMartin-NOAA May 16, 2023
27cf69d
Update to new stable build on 20230517
CoryMartin-NOAA May 17, 2023
1696cda
Update to new stable build on 20230518
CoryMartin-NOAA May 18, 2023
98edc36
Merge branch 'develop' into feature/stable-nightly
CoryMartin-NOAA May 19, 2023
551d4c7
Update to new stable build on 20230519
CoryMartin-NOAA May 19, 2023
328cc4a
Update to new stable build on 20230520
CoryMartin-NOAA May 20, 2023
18b4a76
Merge branch 'develop' into feature/stable-nightly
CoryMartin-NOAA May 23, 2023
f38549e
Update to new stable build on 20230523
CoryMartin-NOAA May 23, 2023
8bf4bdd
Update to new stable build on 20230524
CoryMartin-NOAA May 24, 2023
2bd4c46
Merge branch 'develop' into feature/stable-nightly
CoryMartin-NOAA May 25, 2023
9176046
Merge branch 'develop' into feature/stable-nightly
CoryMartin-NOAA May 26, 2023
afb3a93
Update to new stable build on 20230526
CoryMartin-NOAA May 26, 2023
2df6e96
Update to new stable build on 20230527
CoryMartin-NOAA May 27, 2023
6282fdf
Update to new stable build on 20230531
CoryMartin-NOAA May 31, 2023
d171588
Update to new stable build on 20230601
CoryMartin-NOAA Jun 1, 2023
7d13e0d
Merge branch 'develop' into feature/stable-nightly
CoryMartin-NOAA Jun 2, 2023
87e071f
Update to new stable build on 20230602
CoryMartin-NOAA Jun 2, 2023
7a2f299
Update to new stable build on 20230603
CoryMartin-NOAA Jun 3, 2023
9623436
Merge branch 'develop' into feature/stable-nightly
CoryMartin-NOAA Jun 6, 2023
c9cd07f
Update to new stable build on 20230606
CoryMartin-NOAA Jun 6, 2023
bd9cf6a
Merge branch 'develop' into feature/stable-nightly
CoryMartin-NOAA Jun 9, 2023
1da2e63
Update to new stable build on 20230609
CoryMartin-NOAA Jun 9, 2023
e7fa85b
Update to new stable build on 20230610
CoryMartin-NOAA Jun 10, 2023
8f223da
Update to new stable build on 20230613
CoryMartin-NOAA Jun 13, 2023
d01c5a7
Merge branch 'develop' into feature/stable-nightly
CoryMartin-NOAA Jul 1, 2023
3f6d0e2
Merge branch 'develop' into feature/stable-nightly
CoryMartin-NOAA Jul 7, 2023
333337b
Update to new stable build on 20230707
CoryMartin-NOAA Jul 7, 2023
a46df8d
Merge branch 'develop' into feature/stable-nightly
CoryMartin-NOAA Jul 8, 2023
e61e33c
Update to new stable build on 20230708
CoryMartin-NOAA Jul 8, 2023
65618a9
Merge branch 'develop' into feature/stable-nightly
CoryMartin-NOAA Jul 14, 2023
4452b0a
Update to new stable build on 20230714
CoryMartin-NOAA Jul 14, 2023
7e3d694
Merge branch 'develop' into feature/stable-nightly
CoryMartin-NOAA Jul 14, 2023
fed5c4d
Update to new stable build on 20230715
CoryMartin-NOAA Jul 15, 2023
b3f800e
Update to new stable build on 20230717
CoryMartin-NOAA Jul 17, 2023
ada6239
Merge branch 'develop' into feature/stable-nightly
CoryMartin-NOAA Jul 18, 2023
fd8aa2f
Update to new stable build on 20230718
CoryMartin-NOAA Jul 18, 2023
bb33f6e
Initiate to process the gts bufr data into the ioda format.
jiaruidong2017 Jul 20, 2023
0824a15
Change the io paths for matching the global-workflow.
jiaruidong2017 Jul 23, 2023
697dfb0
Modify the ctest for the bufr2ioda yaml files.
jiaruidong2017 Jul 24, 2023
623b081
Revert the changes from CMakeLists.txt.
jiaruidong2017 Jul 24, 2023
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
28 changes: 14 additions & 14 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,38 +71,38 @@ if(BUILD_GDASBUNDLE)
endif()

# Core JEDI repositories
ecbuild_bundle( PROJECT oops GIT "https://github.com/jcsda/oops.git" BRANCH develop )
ecbuild_bundle( PROJECT vader GIT "https://github.com/jcsda/vader.git" BRANCH develop )
ecbuild_bundle( PROJECT saber GIT "https://github.com/jcsda/saber.git" BRANCH develop )
ecbuild_bundle( PROJECT ioda GIT "https://github.com/jcsda/ioda.git" BRANCH develop )
ecbuild_bundle( PROJECT ufo GIT "https://github.com/jcsda/ufo.git" BRANCH feature/gdasapp_ufo )
ecbuild_bundle( PROJECT oops GIT "https://github.com/jcsda/oops.git" TAG 53d18c6 )
CoryMartin-NOAA marked this conversation as resolved.
Show resolved Hide resolved
ecbuild_bundle( PROJECT vader GIT "https://github.com/jcsda/vader.git" TAG 68ebc46 )
ecbuild_bundle( PROJECT saber GIT "https://github.com/jcsda/saber.git" TAG 308cdf2 )
ecbuild_bundle( PROJECT ioda GIT "https://github.com/jcsda/ioda.git" TAG 7006421 )
ecbuild_bundle( PROJECT ufo GIT "https://github.com/jcsda/ufo.git" TAG e4144cb )

# FMS and FV3 dynamical core
ecbuild_bundle( PROJECT fms GIT "https://github.com/jcsda/FMS.git" BRANCH release-stable )
ecbuild_bundle( PROJECT fv3 GIT "https://github.com/jcsda/GFDL_atmos_cubed_sphere.git" BRANCH release-stable )
ecbuild_bundle( PROJECT fms GIT "https://github.com/jcsda/FMS.git" TAG 1f73914 )
ecbuild_bundle( PROJECT fv3 GIT "https://github.com/jcsda/GFDL_atmos_cubed_sphere.git" TAG 61450b4 )

# fv3-jedi and associated repositories
ecbuild_bundle( PROJECT femps GIT "https://github.com/jcsda/femps.git" BRANCH develop )
ecbuild_bundle( PROJECT fv3-jedi-lm GIT "https://github.com/jcsda/fv3-jedi-linearmodel.git" BRANCH develop )
ecbuild_bundle( PROJECT fv3-jedi GIT "https://github.com/jcsda/fv3-jedi.git" BRANCH develop )
ecbuild_bundle( PROJECT femps GIT "https://github.com/jcsda/femps.git" TAG cb39681 )
ecbuild_bundle( PROJECT fv3-jedi-lm GIT "https://github.com/jcsda/fv3-jedi-linearmodel.git" TAG a934a7b )
ecbuild_bundle( PROJECT fv3-jedi GIT "https://github.com/jcsda/fv3-jedi.git" TAG 6246644 )

# SOCA associated repositories
# TODO: Move the Icepack fork to EMC github
set(BUILD_ICEPACK "ON" CACHE STRING "Build the icepack library")
if ( BUILD_ICEPACK )
ecbuild_bundle( PROJECT icepack GIT "https://github.com/JCSDA-internal/Icepack.git" BRANCH feature/ecbuild-new )
endif()
ecbuild_bundle( PROJECT gsw GIT "https://github.com/jcsda-internal/GSW-Fortran.git" BRANCH develop )
ecbuild_bundle( PROJECT mom6 GIT "https://github.com/jcsda-internal/MOM6.git" BRANCH main-ecbuild RECURSIVE )
ecbuild_bundle( PROJECT soca GIT "https://github.com/jcsda-internal/soca.git" BRANCH develop )
ecbuild_bundle( PROJECT gsw GIT "https://github.com/jcsda-internal/GSW-Fortran.git" TAG 1a02eba )
ecbuild_bundle( PROJECT mom6 GIT "https://github.com/jcsda-internal/MOM6.git" TAG 51ec489 RECURSIVE )
ecbuild_bundle( PROJECT soca GIT "https://github.com/jcsda-internal/soca.git" TAG 7efe282 )

# Build JEDI/DA or other peripherals
ecbuild_bundle( PROJECT gdas-utils SOURCE "./utils" )

# Build IODA converters
option(BUILD_IODA_CONVERTERS "Build IODA Converters" ON)
if(BUILD_IODA_CONVERTERS)
ecbuild_bundle( PROJECT iodaconv GIT "https://github.com/JCSDA-internal/ioda-converters.git" BRANCH develop )
ecbuild_bundle( PROJECT iodaconv GIT "https://github.com/JCSDA-internal/ioda-converters.git" TAG 1e46f82 )
endif()

# Land associated repositories
Expand Down
9 changes: 9 additions & 0 deletions parm/land/prep/prep_gts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
gtsbufr:
mkdir:
- $(DATA)/obs
copy:
- [$(COM_OBS)/$(OPREFIX)adpsfc.tm00.bufr_d, $(DATA)/obs/]
gtsioda:
copy:
- [$(DATA)/$(OPREFIX)adpsfc_snow.nc4, $(COM_OBS)/$(OPREFIX)adpsfc_snow.nc4]

2 changes: 1 addition & 1 deletion test/land/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ set_tests_properties(test_gdasapp_land_letkfoi_snowda

# Test convert BUFR to IODA
add_test(NAME test_gdasapp_convert_bufr_adpsfc_snow
COMMAND ${PROJECT_SOURCE_DIR}/test/soca/test_bufr2ioda.sh ${PROJECT_BINARY_DIR} bufr_adpsfc_snow
COMMAND ${PROJECT_SOURCE_DIR}/test/land/test_bufr2ioda.sh ${PROJECT_BINARY_DIR} bufr_adpsfc_snow
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}/test/)

4 changes: 2 additions & 2 deletions test/testinput/bufr_adpsfc_snow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ observations:
- obs space:
name: bufr

obsdatain: "./testdata/gdas.t06z.adpsfc.tm00.bufr_d"
obsdatain: $(DATA)/obs/$(OPREFIX)adpsfc.tm00.bufr_d

exports:
variables:
Expand Down Expand Up @@ -41,7 +41,7 @@ observations:

ioda:
backend: netcdf
obsdataout: "./testoutput/gdas.t06z.adpsfc_snow.nc"
obsdataout: $(DATA)/$(OPREFIX)adpsfc_snow.nc4

variables:

Expand Down
85 changes: 85 additions & 0 deletions ush/land/bufr_adpsfc_snow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
# (C) Copyright 2021-2022 NOAA/NWS/NCEP/EMC
#
# This software is licensed under the terms of the Apache Licence Version 2.0
# which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.

observations:
- obs space:
name: bufr

obsdatain: "./testdata/gdas.t06z.adpsfc.tm00.bufr_d"

exports:
variables:
# MetaData
timestamp:
datetime:
year: "*/YEAR[1]"
month: "*/MNTH[1]"
day: "*/DAYS[1]"
hour: "*/HOUR[1]"
minute: "*/MINU[1]"
latitude:
query: "[*/CLAT, */CLATH]"
longitude:
query: "[*/CLON, */CLONH]"
stationIdentification:
query: "*/RPID"

height:
query: "[*/SELV, */HSMSL]"

# ObsValue
totalSnowDepth:
query: "[*/SNWSQ1/TOSD, */MTRMSC/TOSD, */STGDSNDM/TOSD]"
transforms:
- scale: 1000.0
filters:
- bounding:
variable: totalSnowDepth
upperBound: 10000000

ioda:
backend: netcdf
obsdataout: "./testoutput/gdas.t06z.adpsfc_snow.nc"

variables:

# MetaData
- name: "MetaData/dateTime"
coordinates: "longitude latitude"
source: variables/timestamp
longName: "Datetime"
units: "seconds since 1970-01-01T00:00:00Z"

- name: "MetaData/latitude"
coordinates: "longitude latitude"
source: variables/latitude
longName: "Latitude"
units: "degree_north"
range: [-90, 90]

- name: "MetaData/longitude"
coordinates: "longitude latitude"
source: variables/longitude
longName: "Longitude"
units: "degree_east"
range: [-180, 180]

- name: "MetaData/height"
coordinates: "longitude latitude"
source: variables/height
longName: "Height of Station"

- name: "MetaData/stationIdentification"
coordinates: "longitude latitude"
source: variables/stationIdentification
longName: "Identification of Observing Location"
units: "m"

# ObsValue
- name: "ObsValue/totalSnowDepth"
coordinates: "longitude latitude"
source: variables/totalSnowDepth
longName: "Total Snow Depth"
units: "mm"
Loading