Skip to content

Commit

Permalink
Per #2745, no real code changes. Just whitespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
MET Tools Test Account committed Jan 29, 2024
1 parent c34eb02 commit a6dfa66
Show file tree
Hide file tree
Showing 9 changed files with 24 additions and 17 deletions.
7 changes: 4 additions & 3 deletions src/libcode/vx_data2d_grib/var_info_grib.cc
Original file line number Diff line number Diff line change
Expand Up @@ -74,13 +74,14 @@ VarInfoGrib & VarInfoGrib::operator=(const VarInfoGrib &f) {
}

///////////////////////////////////////////////////////////////////////////////
VarInfo *VarInfoGrib::clone() const
{

VarInfo *VarInfoGrib::clone() const {

VarInfoGrib *ret = new VarInfoGrib(*this);

return (VarInfo *)ret;
}


///////////////////////////////////////////////////////////////////////////////

void VarInfoGrib::init_from_scratch() {
Expand Down
5 changes: 3 additions & 2 deletions src/libcode/vx_data2d_grib2/var_info_grib2.cc
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,10 @@ VarInfoGrib2 & VarInfoGrib2::operator=(const VarInfoGrib2 &f) {

///////////////////////////////////////////////////////////////////////////////

VarInfo *VarInfoGrib2::clone() const
{
VarInfo *VarInfoGrib2::clone() const {

VarInfoGrib2 *ret = new VarInfoGrib2(*this);

return (VarInfo *)ret;
}

Expand Down
5 changes: 3 additions & 2 deletions src/libcode/vx_data2d_nc_cf/var_info_nc_cf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,10 @@ VarInfoNcCF & VarInfoNcCF::operator=(const VarInfoNcCF &f) {

///////////////////////////////////////////////////////////////////////////////

VarInfo *VarInfoNcCF::clone() const
{
VarInfo *VarInfoNcCF::clone() const {

VarInfoNcCF *ret = new VarInfoNcCF(*this);

return (VarInfo *)ret;
}

Expand Down
6 changes: 4 additions & 2 deletions src/libcode/vx_data2d_nc_met/var_info_nc_met.cc
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,11 @@ VarInfoNcMet & VarInfoNcMet::operator=(const VarInfoNcMet &f) {
}

///////////////////////////////////////////////////////////////////////////////
VarInfo *VarInfoNcMet::clone() const
{

VarInfo *VarInfoNcMet::clone() const {

VarInfoNcMet *ret = new VarInfoNcMet(*this);

return (VarInfo *)ret;
}

Expand Down
1 change: 1 addition & 0 deletions src/libcode/vx_data2d_nc_wrf/var_info_nc_wrf.cc
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ VarInfoNcWrf & VarInfoNcWrf::operator=(const VarInfoNcWrf &f) {
VarInfo *VarInfoNcWrf::clone() const {

VarInfoNcWrf *ret = new VarInfoNcWrf(*this);

return (VarInfo *)ret;
}

Expand Down
5 changes: 3 additions & 2 deletions src/libcode/vx_data2d_python/var_info_python.cc
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,10 @@ VarInfoPython & VarInfoPython::operator=(const VarInfoPython &f) {

///////////////////////////////////////////////////////////////////////////////

VarInfo *VarInfoPython::clone() const
{
VarInfo *VarInfoPython::clone() const {

VarInfoPython *ret = new VarInfoPython(*this);

return (VarInfo *)ret;
}

Expand Down
6 changes: 3 additions & 3 deletions src/libcode/vx_data2d_ugrid/var_info_ugrid.cc
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@

using namespace std;


///////////////////////////////////////////////////////////////////////////////

static bool is_grib_code_abbr_match(const ConcatString &, int);
Expand Down Expand Up @@ -77,9 +76,10 @@ VarInfoUGrid & VarInfoUGrid::operator=(const VarInfoUGrid &f) {

///////////////////////////////////////////////////////////////////////////////

VarInfo *VarInfoUGrid::clone() const
{
VarInfo *VarInfoUGrid::clone() const {

VarInfoUGrid *ret = new VarInfoUGrid(*this);

return (VarInfo *)ret;
}

Expand Down
5 changes: 2 additions & 3 deletions src/libcode/vx_shapedata/engine.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1004,14 +1004,13 @@ void ModeFuzzyEngine::do_obs_merging(const ShapeData &merge_data)
if(need_obs_thresh) do_obs_thresholding();

if(!need_obs_merge) return;

if (obs_thresh->data.nx() != merge_data.data.nx() ||
obs_thresh->data.ny() != merge_data.data.ny()) {
mlog << Error << "\nModeFuzzyEngine::do_obs_merging() -> "
<< "inconsistent array dims\n\n";
exit(1);
}


if(conf_info.Obs->merge_flag == MergeType_Both ||
conf_info.Obs->merge_flag == MergeType_Thresh)
Expand All @@ -1020,7 +1019,7 @@ void ModeFuzzyEngine::do_obs_merging(const ShapeData &merge_data)
if(conf_info.Obs->merge_flag == MergeType_Both ||
conf_info.Obs->merge_flag == MergeType_Engine)
do_obs_merge_engine("", "");

//
// Done
//
Expand Down
1 change: 1 addition & 0 deletions src/libcode/vx_shapedata/engine.h
Original file line number Diff line number Diff line change
Expand Up @@ -225,6 +225,7 @@ class ModeFuzzyEngine {
// traditional version
void do_obs_merging(const char *default_config,
const char *merge_config);

// multivar version
void do_obs_merging(const ShapeData &merge_data);

Expand Down

0 comments on commit a6dfa66

Please sign in to comment.