Skip to content

Commit

Permalink
Magics-Metview : For now ignore setting of large offsets
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvielamythepaut committed Apr 17, 2023
1 parent 657a29f commit 6d75d8f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/attributes/GribDecoderWrapper.cc
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ void GribDecoderWrapper::set(const MagRequest& request)
gribdecoder_->field_position_ = field_position_value;
}
if (request.countValues("GRIB_FIELD_LARGE_POSITION") ) {
unsigned long long large_field_position_value = request("GRIB_FIELD_LARGE_POSITION");
// unsigned long long large_field_position_value = request("GRIB_FIELD_LARGE_POSITION");
gribdecoder_->large_field_position_ = large_field_position_value;
}
if (request.countValues("GRIB_WIND_POSITION_1") ) {
Expand All @@ -146,15 +146,15 @@ void GribDecoderWrapper::set(const MagRequest& request)
gribdecoder_->colour_position_ = colour_position_value;
}
if (request.countValues("GRIB_WIND_LARGE_POSITION_1") ) {
unsigned long long large_position_1_value = request("GRIB_WIND_LARGE_POSITION_1");
// unsigned long long large_position_1_value = request("GRIB_WIND_LARGE_POSITION_1");
gribdecoder_->large_position_1_ = large_position_1_value;
}
if (request.countValues("GRIB_WIND_LARGE_POSITION_2") ) {
unsigned long long large_position_2_value = request("GRIB_WIND_LARGE_POSITION_2");
// unsigned long long large_position_2_value = request("GRIB_WIND_LARGE_POSITION_2");
gribdecoder_->large_position_2_ = large_position_2_value;
}
if (request.countValues("GRIB_WIND_LARGE_POSITION_COLOUR") ) {
unsigned long long large_colour_position_value = request("GRIB_WIND_LARGE_POSITION_COLOUR");
// unsigned long long large_colour_position_value = request("GRIB_WIND_LARGE_POSITION_COLOUR");
gribdecoder_->large_colour_position_ = large_colour_position_value;
}
if (request.countValues("GRIB_MISSING_VALUE_INDICATOR") ) {
Expand Down

0 comments on commit 6d75d8f

Please sign in to comment.