You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Up to 4 stations are allowed to be missing
* max_miss_stns configurable
* Update README.md
* update utils.py
* update utils.py
* small reformatting
---------
Co-authored-by: Andreas Pauling <paa@balfrin-ln003.cscs.ch>
`pov_infile`: This GRIB2 file must include the fields `tthrs`, `tthre` (for POAC, `saisl` instead), `saisn` and `ctsum` if the module `update_phenology` is called. If the module `update_strength` is called `pov_infile` must include the fields `saisn` and `tune`. If at least one of these mandatory fields is missing the package exits with status 1 and tells the user. `pov_infile` is used as template for `pov_outfile`, i.e. the whole file is copied to `pov_outfile` with adapted values. Date and time information of `pov_infile` does not have to be correct, ICON just throws warnings.
115
116
@@ -119,6 +120,10 @@ hour_incr : 1
119
120
`station_obs_file`: Observed hourly pollen concentrations (ATAB format) of the latest 120 hours relative to the target date of `pov_outfile`. The timestamps of the data in this file may vary depending on data availability, time of extraction etc. Missing values are allowed but at least 50% of each station must be there. If not, the package exits with status 1 and tells the user.
120
121
`station_mod_file`: Modelled hourly pollen concentrations (ATAB format) of the latest 120 hours relative to the target date of `pov_outfile`. The timestamps of the data in this file may vary depending on data availability, time of extraction etc. In case of missing values the package exits with status 1 and tells the user. Same stations as in `station_obs_file` (only used if the module `update_strength` is called).
121
122
`hour_incr`: Increment of the timestamp of the outfile relative to the infile in hours (defaults to 1; negative values also supported). This parameter should be adapted if the calibration is done for a subsequent run more than one hour ahead.
123
+
`max_miss_stns`: Maximum number of stations with more than 50% missing observations. If
124
+
there are less than 50% missing observation per station, they are replaced by the mean
125
+
of the remaining observations; if there are more than 50% missing observations per station,
126
+
the station is removed from pollen calibration. If there are more stations removed than mas_miss_stns, the pollen calibration is stopped and an alert is issued.
0 commit comments