Skip to content

Commit

Permalink
Changed FillValue for the CF time field
Browse files Browse the repository at this point in the history
  • Loading branch information
philipwjones committed Dec 2, 2024
1 parent 0e593af commit 46141c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/omega/src/infra/Field.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ int Field::init(const Clock *ModelClock // [in] default model clock
CalendarKind CalKind = Calendar::getKind();
std::string CalName = CalendarCFName[CalKind];
std::vector<std::string> DimNames; // empty dim names vector
std::shared_ptr<Field> TimeField =
create("time", "time", UnitString, "time", 0.0, 1.e20, 0.0, 0, DimNames);
std::shared_ptr<Field> TimeField = create("time", "time", UnitString, "time",
0.0, 1.e20, -9.99e30, 0, DimNames);
TimeField->addMetadata("calendar", CalName);

return Err;
Expand Down

0 comments on commit 46141c3

Please sign in to comment.