Skip to content

Commit

Permalink
no params from ncfile coeff layer
Browse files Browse the repository at this point in the history
  • Loading branch information
forefire committed Apr 9, 2024
1 parent 72c88c9 commit ace219a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/Command.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1038,6 +1038,7 @@ int Command::loadData(const string& arg, size_t& numTabs){
int year, yday;
if (simParam->ISODateDecomposition(args[1], secs, year, yday))
{
cout<<"loading at time "<<args[1]<<endl;
simParam->setInt("refYear", year);
simParam->setInt("refDay", yday);
simParam->setInt("refTime", secs);
Expand Down
2 changes: 1 addition & 1 deletion src/DataBroker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -970,7 +970,7 @@ void DataBroker::loadFromNCFile(string filename) {
ncparam = ncparams->get_att(i);
string pname(ncparam->name());
string sval(ncparam->as_string(0));
params->setParameter(pname, sval);
//params->setParameter(pname, sval);
}
if (ncparam != 0)
delete ncparam;
Expand Down

0 comments on commit ace219a

Please sign in to comment.