Skip to content

Commit

Permalink
Merge branch 'develop' into feature/radbcor
Browse files Browse the repository at this point in the history
  • Loading branch information
RussTreadon-NOAA committed Aug 29, 2024
2 parents 6d0f9bc + 819a08e commit f4b9698
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions utils/soca/gdassoca_obsstats.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,11 @@ namespace gdasapp {

// ocean basin partitioning
std::vector<int> oceanBasins(nlocs);
if (!ospace.has("MetaData", "oceanBasin")) {
oops::Log::warning() << "Skipping obsspace" << obsFile
<< ": oceanBasin does not exist." << std::endl;
continue;
}
ospace.get_db("MetaData", "oceanBasin", oceanBasins);

// Open an ofstream for output and write header
Expand Down

0 comments on commit f4b9698

Please sign in to comment.