-
-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve radar data acquisition #190
Conversation
Codecov Report
@@ Coverage Diff @@
## master #190 +/- ##
==========================================
+ Coverage 93.23% 94.28% +1.04%
==========================================
Files 33 37 +4
Lines 1877 2116 +239
Branches 161 208 +47
==========================================
+ Hits 1750 1995 +245
- Misses 96 97 +1
+ Partials 31 24 -7
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
Dear @amotl thanks for working further on that issue. I had a lot of trouble the last two weeks. |
Dear Daniel,
I only recognized it and reflected it within wetterdienst/tests/dwd/radar/test_index.py Lines 123 to 138 in fc57ec3
Do you mean we should properly take that into account by adding yet another argument to the machinery, right? Like
By introducing this argument, we will be able to properly address the artifacts on this level. With kind regards, |
Dear Daniel, thanks for adding 810c7a1 in order to start bringing this to the top-level 22447d2 adds indexing support for all of:
25a2c64 finally implements accessing and downloading data from the locations at With kind regards, So, what works for now is getting the Synopsis
Full examplesSee also example/radar. |
3ca804a
to
df1f5ac
Compare
@amotl I'm currently testing this, but have some questions:
I'm trying to find my way through the package, but would need some guidance. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this huge effort !
Dear @kmuehlbauer you can access data with:
Afterwards you have to call The mapping to the DWD abbreviations are:
But it could be possible that we will change this after your comment on that. Elevations: |
Right, thanks for answering already, @meteoDaniel. There's also an example program which outlines this, see wetterdienst/example/radar/radar_sweep_hdf5.py Lines 62 to 67 in db4fae2
|
Thanks @amotl, I've found the example. What would I need to add for |
That is true. No way to filter by "latest 10" for now. I also believe this would be a way more convenient option than accessing by specific timestamps at all for this type of data, where there isn't really anything "historical" to access. Otherwise, one would have to figure out specific time ranges upfront, taking the respective intervals into consideration, etc. pepe. |
True, the history is only three days IIRC. I would try to add code but I'm having a hard time to follow up through the abstraction levels. |
No worries, let me do that for you. I am about to switch over to a more OO-based approach, essentially mitigating the tedious passing of arguments around. Thanks for all of your suggestions! |
dd294db
to
f4f5de6
Compare
This looks like it's almost finished. 🎉 Is there any timeline when this will hit master and possibly be released? Thanks! |
Dear @kmuehlbauer,
After some adjustments I made to this yesterday, I believe it is ready now. Please advise if I missed to address anything. Cheers, |
OK, this is great news, @amotl! I can't immediately see any problems so far. If there's something amiss, it can still be added later. |
- Naming things - Improve indexing for directories containing both BIN and BUFR - More tests for "test_radar_fileindex"
- Add RadarParamters RW, RY and SF for RADOLAN - Add RadarParamter RADOLAN_GRID for addressing daily, hourly and 5_minutes resources - Swap FX against PP for composites - Add more tests covering the new options
Finally, this has been merged. Thanks for all of your support along the way, @meteoDaniel, @gutzbenj and @kmuehlbauer!
Will you cut a new release, @gutzbenj? Thanks already! |
Dear @meteoDaniel,
this implements #138 in order to also acquire radar data from
/weather/radar
besides/climate_environment/CDC/grids_germany/{5_minutes,hourly,daily}/radolan
. It is based upon your #140.After the refactorings coming from #188 and #189, I took the chance to rework your contribution coming from #140 based on these changes. It might save you quite some amount of work when picking this up again.
With kind regards,
Andreas.