Skip to content

Commit

Permalink
obsGeoVars as ObsVariables
Browse files Browse the repository at this point in the history
  • Loading branch information
twsearle committed May 20, 2024
1 parent 741e73f commit ecd5218
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nemo-feedback/NemoFeedback.cc
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#include "ioda/ObsSpace.h"
#include "ioda/ObsVector.h"
#include "oops/base/Variables.h"
#include "oops/base/ObsVariables.h"
#include "oops/mpi/mpi.h"
#include "oops/util/Logger.h"
#include "oops/util/DateTime.h"
Expand Down Expand Up @@ -63,7 +64,6 @@ NemoFeedback::NemoFeedback(
{
oops::Log::trace() << "NemoFeedback constructor starting" << std::endl;

const std::vector<int> channels{};
std::vector<std::string> obsGeoNames;

// helper function to determine if a name is a new entry in the vector
Expand All @@ -90,7 +90,7 @@ NemoFeedback::NemoFeedback(
}
}

const oops::Variables obsGeoVars(obsGeoNames, channels);
const oops::ObsVariables obsGeoVars(obsGeoNames);
geovars_ = nameMap_.convertName(obsGeoVars);

// Generate lists of the variable name meta data to setup the file
Expand Down

0 comments on commit ecd5218

Please sign in to comment.