...
 
Commits (2)
......@@ -107,7 +107,7 @@ class NMMEForecast(paths.ForecastForcing):
return os.path.join(self.model_dir(),
'raw_sci',
yearmon,
'{model}_{yearmon}_trgt{target}_fcst{member}.nc::T@[x-273.15]->T,Pr@[x*2628000]->Pr'.format(model=self.model_name.lower(),
'{model}_{yearmon}_trgt{target}_fcst{member}.nc'.format(model=self.model_name.lower(),
yearmon=yearmon,
target=target,
member=member))
......
......@@ -32,11 +32,11 @@ Options:
check_unit_consistency <- function(var, retro_units, forecast_units) {
if (is.null(retro_units)) {
wsim.io::warnf("Unspecified units for retrospective forecast fit of %s", var)
stop(sprintf("Unspecified units for retrospective forecast fit of %s", var))
}
if (is.null(forecast_units)) {
wsim.io::warnf("Unspecified units for forecast of %s", var)
stop(sprintf("Unspecified units for forecast of %s", var))
}
if (!is.null(retro_units) && !is.null(forecast_units) && retro_units != forecast_units) {
......