BEMServer / bemserver-core

https://bemserver-docs.readthedocs.io/
MIT License
3 stars 3 forks source link

get_weather_data: set model according to forecast arg #204

Closed lafrech closed 1 year ago

lafrech commented 1 year ago

Oikolab has a model parameter allowing to chose which model to use as data source.

Choosing ERA5 for reanalysis and GFS for forecast. This avoids mixing forecast with past data.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (38ef758) 95.71% compared to head (e561136) 95.72%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #204 +/- ## ======================================= Coverage 95.71% 95.72% ======================================= Files 42 42 Lines 2709 2712 +3 Branches 338 338 ======================================= + Hits 2593 2596 +3 Misses 92 92 Partials 24 24 ``` | [Impacted Files](https://app.codecov.io/gh/BEMServer/bemserver-core/pull/204?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BEMServer) | Coverage Δ | | |---|---|---| | [bemserver\_core/process/weather.py](https://app.codecov.io/gh/BEMServer/bemserver-core/pull/204?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=BEMServer#diff-YmVtc2VydmVyX2NvcmUvcHJvY2Vzcy93ZWF0aGVyLnB5) | `98.63% <100.00%> (+0.05%)` | :arrow_up: |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.