Open
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.
Collaborator
|
Do we still think we need this? I lost track... |
Member
Author
|
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. |
Collaborator
|
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:
***@***.***>
|
Member
Author
|
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.