Open JasonChen1995 opened 4 years ago
The rw source is only available for the last few hours so i had to modify the link to today's data
java -jar release/radolan.jar -i https://opendata.dwd.de/weather/radar/radolan/rw/raa01-rw_10000-2011020850-dwd---bin -o /tmp/rw2020-10-28_0850.png -st 5
To get the RW dump result:
as the working example. For the other example if need to look into the issue.
It looks like you are trying to use YW data as described in https://www.dwd.de/DE/leistungen/radarklimatologie/radklim_kompositformat_1_0.pdf?__blob=publicationFile&v=1 - this product is not supported yet - you might want to change the software - a pull request is welcome.
https://gitlab.cs.fau.de/since/radolan/-/blob/master/radolan.go shows the products the original golang library this java code was ported from was supporting. Not all of these have yet been adopted in the Java version. It looks like the YW product is newer and wasn't there at the time the software was created. If you are flexible in the choice of your programming language http://wiki.bitplan.com/index.php/Radolan#Other_Libraries might have a library that suits your needs.
Thanks for your wonderful work! I test 'java -jar radolan -i https://opendata.dwd.de/weather/radar/radolan/rw/raa01-rw_10000-2010280850-dwd---bin -o rw2020-10-28_0850.png -st 5' and I can get the right figure.
But when I try to parse the file in 'https://opendata.dwd.de/climate_environment/CDC/grids_germany/5_minutes/radolan/reproc/2017_002/bin/', the program will crash. For example, I download 'https://opendata.dwd.de/climate_environment/CDC/grids_germany/5_minutes/radolan/reproc/2017_002/bin/2019/YW2017.002_201901.tar', unzip the file and get many files(e.g. raa01-yw2017.002_10000-1901010000-dwd---bin), then I try to parse the file 'raa01-yw2017.002_10000-1901010000-dwd---bin' and the program crashed (errors are shown in the png). I would appreciate it if you could give me some suggestions, thanks!