-
Notifications
You must be signed in to change notification settings - Fork 0
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
Storing habitat preferences #7
base: main
Are you sure you want to change the base?
Conversation
California Bounds (-124.41060660766607, 32.5342307609976, -114.13445790587905, 42.00965914828148) * Original = 15s * multi = 15s * mem & multi = 8s Sub-Saharan Africa (-17.6, -35, 52, 27.3) * Original = 11m * mem & multi = 6m
* range_src determines what format the species code needs to be in. It will default to IUCN. * Now the user does not need to provide the ebird api key if they are using IUCN.
Do we still think we need this? I lost track... |
I think we still do while I finish the code for caching the bird data through csv. It might take me a couple days to finish, but I will keep sending updates as I do so. Is that okay? Otherwise I can try to finish by EOTD tomorrow. |
Would it not be cleaner to do the caching outside of the package? For
example writing a function that returns a Pandas dataframe?
I just don't incredibly like to put more file dependencies in a package ...
?
Let me know what you think.
Luca
…On Wed, Jul 31, 2024 at 11:40 AM Aadity Sharma ***@***.***> wrote:
I think we still do while I finish the code for caching the bird data
through csv. It might take me a couple days to finish, but I will keep
sending updates as I do so. Is that okay? Otherwise I can try to finish by
EOTD tomorrow.
—
Reply to this email directly, view it on GitHub
<#7 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA42BUAMJ5ZEUZRGCGAMTDZPEVRXAVCNFSM6AAAAABKRHI7AWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRRGE3TGNJRGQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
That does sound cleaner, I can switch it to implementing a function for a pandas dataframe. I'll commit some preliminary work for your review if it is alright. File dependencies on a package seem clunky to me personally as well, I would highly prefer this method, it could be faster and more efficient. |
I will be caching habitat preferences and should hopefully have this task done soon. So far I have written a function that can fetch list of all birds from Redlist and produce a .csv file. My next step is to place this file as an input in layers.py.