-
Notifications
You must be signed in to change notification settings - Fork 5
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
Using phenodata as a library #3
Comments
Dear Markus,
Thanks for appreciating our work on this program.
Regarding weather information from DWD/CDC, we would also like to point out the fine
I see what you are doing over at
You are actually asking how to use this module as a library? What about using these lines from
With kind regards, |
Now, I see that this might not so easy. For a quick solution, I have been able to give you this hack on how to fake the parameters into
The same would also work for
However, you would still have to parse STDOUT again, which is kind of sad. |
At [1], you can now find two basic examples about how to use the module as a library in order to yield Pandas DataFrames for further downstream processing. That way, you will not have to convert the JSON or CSV output back, which would have been silly. Currently, still all Please let me know if this will help you along. [1] https://github.com/hiveeyes/phenodata/tree/master/examples |
Thanks for the examples! Also is there a reason why the cache is encrypted? |
Thanks again, running the client directly is much more efficient! |
You are welcome.
Are you sure about this detail? Maybe
What about this guy? Have you been able to resolve it? |
@Aranil was testing rcm_archive on windows, before that i was not aware of fcntl. It is not a huge problem, the final thing is intended to run on a server that should run on linux (also why i deleted that comment). I tried to use the sqlite3 solution in panodata/dwdweather2 but i'm not familiar with dogpile.cache so i got lost quickly after list_plus and list_plus_real. |
Dear Markus, as I am just revisiting this issue, I wanted to take the chance to tell you about Wetterdienst. You might want to prefer it over dwdweather2 these days. With kind regards, cc @gutzbenj |
Dear Markus, we recently worked on bringing With kind regards, [1] https://github.com/panodata/grafana-pandas-datasource/tree/2d624da/examples/phenodata-mellifera |
Dear Andreas, thanks for keeping me in the loop! Kind regards, |
We wish you a happy new year and good success with your thesis. As we are modernizing |
Thank you very much! |
Dear Markus, we hope you are doing well, that you've finished your thesis properly, and that you are now travelling the world. We just improved the documentation and added a dedicated section about how to use phenodata as a library 1, sparked by your inquiry. Let me know if you find any details for improvement.
We will also be happy to hear back about what you used phenodata for, if you are allowed to talk about it now. If you have any resources available you can share, it would be nice to add them to the documentation as references. With kind regards, Footnotes |
Dear @MarkusZehner, we continued our endeavor of unlocking DWD CDC open access data, and converged the phenology observation data into corresponding SQLite databases, making it very convenient for querying and filtering. More information at 123 ff. We hope you like it. With kind regards, /cc @Aranil, @MarkusRAdam, @lawacco Footnotes |
Hi,
I am working on a database for a crop monitoring project. I really appreciate your work in this and the dwdweather2 repository!
What would be the best way to circumvent the console for this package? Is there an easy way to pipe the string to the options variable in phenodata.command.run()?
Thanks!
markus
The text was updated successfully, but these errors were encountered: