Skip to content

Commit

Permalink
Merge branch 'feature/move_jcb' into feature/rename_atm
Browse files Browse the repository at this point in the history
* feature/move_jcb:
  Addition of "Convert to Structured Grid" to gdas (#1167)
  use gsibec tags/1.2.1 (#1164)
  Remove N21 from the aero obs list  (#1160)
  Add jcb and update jcb repos to remove submodules
  add jcb to gdasapp submods
  • Loading branch information
danholdaway committed Jun 13, 2024
2 parents fe5169c + 368c9c5 commit d30ba09
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@
path = sorc/fms
url = https://github.com/jcsda/fms.git
branch = release-stable
[submodule "sorc/jcb"]
path = sorc/jcb
url = https://github.com/noaa-emc/jcb.git
branch = develop
[submodule "parm/jcb-gdas"]
path = parm/jcb-gdas
url = https://github.com/noaa-emc/jcb-gdas
Expand Down
5 changes: 5 additions & 0 deletions mains/gdas.cc
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
#include "ufo/instantiateObsFilterFactory.h"
#include "ufo/ObsTraits.h"

#include "oops/runs/ConvertToStructuredGrid.h"
#include "oops/runs/ConvertState.h"
#include "oops/runs/HofX4D.h"
#include "oops/runs/LocalEnsembleDA.h"
Expand Down Expand Up @@ -52,6 +53,9 @@ int runApp(int argc, char** argv, const std::string traits, const std::string ap
// Define a map from app names to lambda functions that create unique_ptr to Applications
std::map<std::string, std::function<std::unique_ptr<oops::Application>()>> apps;

apps["converttostructuredgrid"] = []() {
return std::make_unique<oops::ConvertToStructuredGrid<Traits>>();
};
apps["convertstate"] = []() {
return std::make_unique<oops::ConvertState<Traits>>();
};
Expand Down Expand Up @@ -96,6 +100,7 @@ int main(int argc, char ** argv) {
// Check that the application is recognized
// ----------------------------------------
const std::set<std::string> validApps = {
"converttostructuredgrid",
"convertstate",
"hofx4d",
"localensembleda",
Expand Down
1 change: 0 additions & 1 deletion parm/aero/obs/lists/gdas_aero.yaml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,4 @@ observers:
{% filter indent(width=2) %}
{% include 'aero/obs/config/viirs_n20_aod.yaml.j2' %}
{% include 'aero/obs/config/viirs_npp_aod.yaml.j2' %}
{% include 'aero/obs/config/viirs_n21_aod.yaml.j2' %}
{% endfilter %}
1 change: 1 addition & 0 deletions sorc/jcb
Submodule jcb added at faee9f

0 comments on commit d30ba09

Please sign in to comment.