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
however, there are other parameters that might need to be adjusted. for example, the rainRate period, the algorithm for altimeter calculation, the algorithm and associated parameters for maximum theoretical solar radiation, evapotranspiration parameters.
here are some alternatives:
option 1: separate stanzas for calculations and algorithms
[StdWXCalculate]
ignore_zero_wind = True
rain_period = 900 # for rain rate
et_period = 3600 # for evapotranspiration
wind_height = 2.0 # for evapotranspiration
atc = 0.8 # for solar radiation RS
nfac = 2 # for solar radiation Bras
max_delta_12h = 1800
[[Calculations]]
windchill = hardware
heatindex = prefer_hardware
dewpoint = software
[[Algorithms]]
altimeter = aaASOS
maxSolarRad = RS
option 2: parameters in a separate stanza
[StdWXCalculate]
windchill = hardware
heatindex = prefer_hardware
dewpoint = software
[[parameters]]
ignore_zero_wind = True
rain_period = 900 # for rain rate
et_period = 3600 # for evapotranspiration
et_wind_height = 2.0 # for evapotranspiration
rs_atc = 0.8 # for solar radiation RS
bras_nfac = 2 # for solar radiation Bras
max_delta_12h = 1800
altimeter_algorithm = aaASOS
maxSolarRad_algorithm = RS
option 3: keep parameters with variables. variable can be scalar (no params) or dict (with params). if 'source' is not specified, then default to 'prefer_hardware'.
[StdWXCalculate]
ignore_zero_wind = True
rain_period = 900 # for rain rate
et_period = 3600 # for evapotranspiration
et_wind_height = 2.0 # for evapotranspiration
rs_atc = 0.8 # for solar radiation RS
bras_nfac = 2 # for solar radiation Bras
max_delta_12h = 1800 # for pressure
windchill = hardware
heatindex = prefer_hardware
dewpoint = software
altimeter_algorithm = aaASOS
maxSolarRad_algorithm = RS
perhaps something else?
option 1 is currently implemented in 3.2.0, with backward compatibility for the non-grouped calculations. but it is rather haphazard and should be changed, imho.
The text was updated successfully, but these errors were encountered:
what syntax should we use for StdWXCalculate settings?
the default settings for StdWXCalculate look like this:
however, there are other parameters that might need to be adjusted. for example, the rainRate period, the algorithm for altimeter calculation, the algorithm and associated parameters for maximum theoretical solar radiation, evapotranspiration parameters.
here are some alternatives:
option 1: separate stanzas for calculations and algorithms
option 2: parameters in a separate stanza
option 3: keep parameters with variables. variable can be scalar (no params) or dict (with params). if 'source' is not specified, then default to 'prefer_hardware'.
option 4: flat namespace
perhaps something else?
option 1 is currently implemented in 3.2.0, with backward compatibility for the non-grouped calculations. but it is rather haphazard and should be changed, imho.
The text was updated successfully, but these errors were encountered: