Comments (4)
As already suggested, I'd like to implement a reshape of the data according to [1]. This would simplify filtering as well as aggregating (especially also over time ranges like days, weeks etc). In order for it to work in the client version I guess only minimal changes have to be applied.
[1] https://vita.had.co.nz/papers/tidy-data.pdf
from wetterdienst.
With #118 we will now be able to extend the DWDStationRequest with further parameters, as the resulting columns will always be the same and we can simply extend the DataFrame with other parameters. In opposition to the result you were suggesting I'd rather prefer something like:
{
"meta" : {
"station_id": 2667,
"datetime": 2020060115,
},
"data" : {
"air_temperature": {
"air_temperature_200": {
"value": 27.0,
"quality": 1
},
},
"more_precip": {
"relative_humidity_200": {
"value": 26.0,
"quality": 1
},
"precipitation_fallen": {
"value": 0,
"quality": 1
},
"precipitation_form": {
"value": null,
"quality": 1
},
"precipitation_height": {
"value": 0.0,
"quality": 1
},
},
"pressure": {
"pressure_msl": {
"value": 1019.0,
"quality": 1
},
"pressure_station": {
"value": 1007.6,
"quality": 1
}
}
}
}
Ofcourse this is not as tiny and compact as you suggested, but this is more clear concerning the included parameters and the qualities of every value which otherwise would have to be interpreted by the user for cases where there are two qualities.
from wetterdienst.
I realized we may as well include additional station information to create an almost complete set.
from wetterdienst.
#121 added the option to request multiple parameters. The data will still be combined per station.
from wetterdienst.
Related Issues (20)
- Can't figure out why some parameters raise a TypeError while others work normally HOT 1
- Request for DWD Solar Irradiance returns missing data despite filters set HOT 2
- List of DWD-parameters that throw exceptions HOT 2
- Too strict dependency pinning HOT 17
- Parameters start_date and end_date not working as expected. HOT 14
- Errors using .summarize_by_station_id and .interpolate(latlon) HOT 2
- ValueError: seek of closed file HOT 2
- Feat: Add integrated surface database HOT 11
- wradlib: Improve installation recipe when building the Docker "full" image HOT 2
- wradlib: Recently released wradlib 1.19.0 has an installation flaw? HOT 7
- confusing/wrong precipitation-height unit HOT 2
- Conda install fails HOT 26
- No data downloaded < 2h HOT 4
- Packaging: Introduce `versioningit` HOT 3
- Handle external pull requests wrt. OCI image build + push well HOT 6
- Possible bug: ModuleNotFoundError: pa.array requires 'pyarrow' module to be installed HOT 3
- Length mismatch: Expected axis has 33 elements, new values have 6 elements HOT 7
- Bug in GeosphereObservationDataset class HOT 2
- Bug in datetime conversion in GeosphereObservationValues._collect_station_parameter HOT 1
- Confusion of extracted parameters in the Geosphere Dataset HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wetterdienst.