Skip to content

Commit

Permalink
Sync submodules with the JCSDA/jedi-bundle (NOAA-EMC#121)
Browse files Browse the repository at this point in the history
This is to address issue NOAA-EMC#109 . Sync all submodules with
JCSDA/jedi-bundle:

1) sync the submodules: fv3 fv3-jedi fv3-jedi-lm femps gsibec ioda
mpas-jedi oops saber ufo vader
2) add fv3-interface.cmake
3) remove submodule fms because it needs to be load through model
4) change compile setups for new fv3 model

Tested on Hera, Jet and Orion. All compiled successfully. All rrfs test
cases are success except for the "rrfs_mpasjedi_2022052619_atms_npp_qc"
on JET, which had trouble to find the crtm coefficient. This is an error
in the current version of RDAS.

The submodule crtm is not synced. Will do it later.

---------

Co-authored-by: Guoqing Ge <[email protected]>
  • Loading branch information
hu5970 and guoqing-noaa authored Aug 19, 2024
1 parent 09cbdbe commit 8ff7bb0
Show file tree
Hide file tree
Showing 21 changed files with 37 additions and 20 deletions.
5 changes: 0 additions & 5 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@
url = https://github.com/jcsda/femps
branch = develop
ignore = all
[submodule "sorc/fms"]
path = sorc/fms
url = https://github.com/jcsda/fms
branch = release-stable
ignore = all
[submodule "sorc/fv3"]
path = sorc/fv3
url = https://github.com/jcsda/GFDL_atmos_cubed_sphere
Expand Down
2 changes: 1 addition & 1 deletion bundle/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ if(BUILD_RDASBUNDLE)

if(FV3_DYCORE)
# FMS and FV3 dynamical core
ecbuild_bundle( PROJECT fms SOURCE "../sorc/fms" )
include(../sorc/fv3-interface.cmake)
ecbuild_bundle( PROJECT fv3 SOURCE "../sorc/fv3" )

# fv3-jedi and associated repositories
Expand Down
1 change: 1 addition & 0 deletions modulefiles/RDAS/hera.intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ load("json/3.10.5")
--load("crtm/v2.4_jedi")
load("rocoto/1.3.6")
load("prod_util/2.1.1")
load("fms/2023.04")

load("py-jinja2/3.0.3")
load("py-netcdf4/1.5.8")
Expand Down
1 change: 1 addition & 0 deletions modulefiles/RDAS/hercules.intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ unload("py-numpy/1.22.3")
load("miniconda3/4.6.14")
load("gdasapp/1.0.0")

load("fms/2023.04")
-- below is a hack because of cmake finding the wrong python...
setenv("CONDA_PREFIX", "/work2/noaa/da/python/opt/core/miniconda3/4.6.14/envs/gdasapp/")

Expand Down
2 changes: 2 additions & 0 deletions modulefiles/RDAS/jet.intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ load("json/3.10.5")
load("rocoto/1.3.6")
load("prod_util/2.1.1")

load("fms/2023.04")

load("py-jinja2/3.0.3")
load("py-netcdf4/1.5.8")
load("py-pybind11/2.11.0")
Expand Down
1 change: 1 addition & 0 deletions modulefiles/RDAS/orion.intel.lua
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ unload("py-numpy/1.22.3")
load("miniconda3/4.6.14")
load("gdasapp/1.0.0")

load("fms/2023.04")
-- below is a hack because of cmake finding the wrong python...
setenv("CONDA_PREFIX", "/work2/noaa/da/python/opt/core/miniconda3/4.6.14/envs/gdasapp/")

Expand Down
2 changes: 1 addition & 1 deletion sorc/femps
1 change: 0 additions & 1 deletion sorc/fms
Submodule fms deleted from 1f7391
2 changes: 1 addition & 1 deletion sorc/fv3
Submodule fv3 updated 96 files
+27 −0 .github/ISSUE_TEMPLATE/bug_report.md
+19 −0 .github/ISSUE_TEMPLATE/feature_request.md
+14 −0 .github/ISSUE_TEMPLATE/support_request.md
+23 −0 .github/pull_request_template.md
+7 −0 .gitignore
+199 −112 CMakeLists.txt
+127 −0 CODE_STYLE.md
+23 −13 README.md
+37 −0 cmake/FV3Config.cmake.in
+130 −0 cmake/FindESMF.cmake
+347 −0 cmake/FindNetCDF.cmake
+16 −0 cmake/compiler_flags_GNU_Fortran.cmake
+25 −0 cmake/compiler_flags_Intel_Fortran.cmake
+9 −58 cmake/fv3_compiler_flags.cmake
+366 −0 docs/Doxyfile
+0 −148 docs/FV3_citations.bib
+0 −2,436 docs/acs_fvGFS
+ docs/doc_source/CDgrid.pdf
+ docs/doc_source/FV3flowchart.pdf
+ docs/doc_source/GFDLLogo.png
+ docs/doc_source/KESpectra.pdf
+ docs/doc_source/PGF.pdf
+1 −0 docs/doc_source/README
+1,653 −0 docs/doc_source/fv3_technical_2021.tex
+ docs/doc_source/fv3logo.png
+1,289 −0 docs/doc_source/fv3references.bib
+ docs/doc_source/gridmetrics1D.pdf
+ docs/doc_source/gridmetricsCoordinates.pdf
+ docs/doc_source/gridmetricsReconstructions.pdf
+ docs/doc_source/phasespeedbad.pdf
+ docs/doc_source/phasespeedgood.pdf
+ docs/doc_source/twowayschematic.pdf
+679 −0 docs/examples/BCMoist.ipynb
+305 −0 docs/examples/BLvortex.ipynb
+402 −0 docs/examples/BTwave.ipynb
+757 −0 docs/examples/DPSupercell.ipynb
+558 −0 docs/examples/MountainWaveIC.ipynb
+47 −0 docs/examples/README.md
+279 −0 docs/examples/RHwave.ipynb
+2,280 −0 docs/examples/TC.ipynb
+1,095 −0 docs/examples/mtn_rest_100km.ipynb
+415 −0 docs/examples/mtn_wave_tests_1km.ipynb
+532 −0 docs/examples/tp_core.ipynb
+ docs/fv3_technical_2021.pdf
+1 −1 driver/fvGFS/DYCORE_typedefs.F90
+465 −171 driver/fvGFS/atmosphere.F90
+370 −66 driver/fvGFS/fv_nggps_diag.F90
+527 −0 driver/fvGFS/fv_ufs_restart_io.F90
+0 −122 makefile
+14 −532 model/a2b_edge.F90
+114 −153 model/boundary.F90
+294 −93 model/dyn_core.F90
+645 −610 model/fv_arrays.F90
+0 −1,209 model/fv_cmp.F90
+168 −109 model/fv_control.F90
+313 −145 model/fv_dynamics.F90
+21 −16 model/fv_fill.F90
+284 −200 model/fv_grid_utils.F90
+257 −224 model/fv_mapz.F90
+322 −293 model/fv_nesting.F90
+649 −326 model/fv_regional_bc.F90
+519 −143 model/fv_sg.F90
+848 −822 model/fv_tracer2d.F90
+39 −32 model/fv_update_phys.F90
+0 −4,975 model/gfdl_cloud_microphys.F90
+0 −614 model/module_mp_radar.F90
+333 −0 model/molecular_diffusion.F90
+66 −21 model/multi_gases.F90
+19 −15 model/nh_core.F90
+2,384 −2,218 model/nh_utils.F90
+3,470 −3,372 model/sw_core.F90
+1,717 −1,242 model/tp_core.F90
+1,388 −0 tools/coarse_grained_diagnostics.F90
+689 −0 tools/coarse_grained_restart_files.F90
+881 −0 tools/coarse_graining.F90
+4,381 −3,886 tools/external_ic.F90
+7 −7 tools/external_sst.F90
+577 −0 tools/fv_diag_column.F90
+1,646 −1,280 tools/fv_diagnostics.F90
+108 −0 tools/fv_diagnostics.h
+184 −111 tools/fv_eta.F90
+44 −5 tools/fv_eta.h
+1,029 −212 tools/fv_grid_tools.F90
+48 −34 tools/fv_iau_mod.F90
+606 −320 tools/fv_io.F90
+492 −408 tools/fv_mp_mod.F90
+303 −228 tools/fv_nudge.F90
+153 −113 tools/fv_restart.F90
+42 −53 tools/fv_surf_map.F90
+7 −7 tools/fv_timing.F90
+30 −32 tools/fv_treat_da_inc.F90
+40 −27 tools/init_hydro.F90
+1,798 −0 tools/module_diag_hailcast.F90
+6 −6 tools/sim_nc_mod.F90
+34 −34 tools/sorted_index.F90
+266 −2,499 tools/test_cases.F90
18 changes: 18 additions & 0 deletions sorc/fv3-interface.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# FV3 dycore
set(OPENMP ON )
set(32BIT OFF)
set(DEBUG OFF)
set(MOVING_NEST OFF)
set(MULTI_GASES OFF)
set(USE_GFSL63 ON )
set(NO_PHYS ON )
set(GFS_PHYS OFF)
set(GFS_TYPES OFF)
set(use_WRTCOMP OFF)
set(INTERNAL_FILE_NML ON )
set(ENABLE_QUAD_PRECISION ON )

add_library(fv3dycore IMPORTED SHARED)
set_target_properties(fv3dycore PROPERTIES IMPORTED_LOCATION ${CMAKE_CURRENT_BINARY_DIR}/fv3/libfv3.${CMAKE_SHARED_LIBRARY_SUFFIX})

message(WARN "WE ARE USING fv3-interface.cmake")
2 changes: 1 addition & 1 deletion sorc/fv3-jedi
Submodule fv3-jedi updated 156 files
2 changes: 1 addition & 1 deletion sorc/fv3-jedi-lm
Submodule fv3-jedi-lm updated 1 files
+7 −4 CMakeLists.txt
2 changes: 1 addition & 1 deletion sorc/ioda
Submodule ioda updated 174 files
2 changes: 1 addition & 1 deletion sorc/iodaconv
Submodule iodaconv updated 100 files
2 changes: 1 addition & 1 deletion sorc/jedicmake
Submodule jedicmake updated 2 files
+1 −1 .gitmodules
+1 −1 CMakeModules
2 changes: 1 addition & 1 deletion sorc/mpas-jedi
Submodule mpas-jedi updated 79 files
+0 −3 CI/CMakeLists.txt
+9 −16 CMakeLists.txt
+5 −1 graphics/AnalyzeStats.py
+2 −5 graphics/AnalyzeStatsArgs.py
+3 −1 graphics/SpawnAnalyzeStats.py
+2 −5 graphics/SpawnAnalyzeStatsArgs.py
+1 −1 graphics/analysis/AnalysisBase.py
+1 −1 graphics/analysis/category/CYAxisFCLines.py
+4 −8 graphics/analysis/multidim/BinValAxes2D.py
+362 −0 graphics/conditionalVerification/conditionalVerification.py
+129 −0 graphics/conditionalVerification/plot.py
+124 −0 graphics/conditionalVerification/qsub.sh
+656 −0 graphics/conditionalVerification/utils.py
+76 −47 graphics/standalone/plot_cost_grad.py
+11 −5 src/mains/CMakeLists.txt
+17 −0 src/mains/mpasConvertToStructuredGrid.cc
+17 −0 src/mains/mpasEnsMeanVariance.cc
+2 −0 src/mains/mpasGenEnsPertB.cc
+0 −0 src/mains/mpasSACA.cc
+2 −11 src/mpasjedi/CMakeLists.txt
+18 −121 src/mpasjedi/Fields/mpas_fields_mod.F90
+13 −30 src/mpasjedi/Geometry/Geometry.cc
+3 −4 src/mpasjedi/Geometry/Geometry.h
+1 −0 src/mpasjedi/Geometry/Geometry.interface.h
+22 −0 src/mpasjedi/Geometry/GeometryParameters.h
+28 −0 src/mpasjedi/Geometry/mpas_geom_interface.F90
+74 −2 src/mpasjedi/Geometry/mpas_geom_mod.F90
+0 −1 src/mpasjedi/Increment/Increment.cc
+1 −1 src/mpasjedi/Increment/IncrementParameters.h
+12 −12 src/mpasjedi/LinearVariableChange/Model2GeoVars/mpasjedi_lvc_model2geovars_mod.F90
+957 −0 src/mpasjedi/Saca/module_mp_thompson_cldfra3.F90
+126 −18 src/mpasjedi/Saca/mpas_saca_interface_mod.F90
+0 −1 src/mpasjedi/State/State.cc
+1 −1 src/mpasjedi/State/StateParameters.h
+5 −8 src/mpasjedi/State/mpas_state_mod.F90
+1 −1 src/mpasjedi/Utilities/mpas4da_mod.F90
+46 −8 src/mpasjedi/VariableChange/Model2GeoVars/mpasjedi_vc_model2geovars_mod.F90
+47 −4 test/CMakeLists.txt
+7 −7 test/testinput/3denvar_amsua_allsky.yaml
+7 −7 test/testinput/3denvar_amsua_bc.yaml
+60 −7 test/testinput/3dvar.yaml
+7 −7 test/testinput/4denvar_VarBC.yaml
+7 −7 test/testinput/4denvar_VarBC_nonpar.yaml
+244 −0 test/testinput/4dhybrid_bumpcov_bumploc.yaml
+32 −0 test/testinput/converttostructuredgrid_latlon.yaml
+70 −0 test/testinput/dirac_spectral_1.yaml
+54 −0 test/testinput/ens_mean_variance.yaml
+28 −28 test/testinput/gen_ens_pert_B.yaml
+23 −0 test/testinput/hofx3d.yaml
+204 −0 test/testinput/lgetkf_height_vloc.yaml
+54 −0 test/testinput/namelists/geovars.yaml
+36 −36 test/testoutput/3denvar_2stream_bumploc.ref
+46 −46 test/testoutput/3denvar_amsua_allsky.ref
+46 −46 test/testoutput/3denvar_amsua_bc.ref
+36 −36 test/testoutput/3denvar_bumploc.ref
+36 −36 test/testoutput/3denvar_dual_resolution.ref
+54 −54 test/testoutput/3dhybrid_bumpcov_bumploc.ref
+79 −58 test/testoutput/3dvar.ref
+36 −36 test/testoutput/3dvar_bumpcov.ref
+36 −36 test/testoutput/3dvar_bumpcov_nbam.ref
+36 −36 test/testoutput/3dvar_bumpcov_ropp.ref
+36 −36 test/testoutput/3dvar_bumpcov_rttovcpp.ref
+90 −90 test/testoutput/4denvar_VarBC.ref
+80 −80 test/testoutput/4denvar_bumploc.ref
+177 −0 test/testoutput/4dhybrid_bumpcov_bumploc.ref
+5 −0 test/testoutput/converttostructuredgrid_latlon.ref
+1 −1 test/testoutput/dirac_bumpcov.ref
+10 −10 test/testoutput/dirac_bumploc.ref
+16 −0 test/testoutput/dirac_spectral_1.ref
+34 −34 test/testoutput/eda_3dhybrid.ref
+46 −0 test/testoutput/ens_mean_variance.ref
+10 −10 test/testoutput/forecast.ref
+49 −0 test/testoutput/gen_ens_pert_B.ref
+1 −0 test/testoutput/hofx3d.ref
+88 −88 test/testoutput/lgetkf.ref
+269 −0 test/testoutput/lgetkf_height_vloc.ref
+2 −2 test/testoutput/parameters_bumpcov.ref
+2 −2 test/testoutput/parameters_bumploc.ref
+22 −22 test/testoutput/rtpp.ref
2 changes: 1 addition & 1 deletion sorc/oops
Submodule oops updated 272 files
2 changes: 1 addition & 1 deletion sorc/saber
Submodule saber updated 412 files
2 changes: 1 addition & 1 deletion sorc/ufo
Submodule ufo updated 687 files
2 changes: 1 addition & 1 deletion sorc/vader
Submodule vader updated 167 files

0 comments on commit 8ff7bb0

Please sign in to comment.