Skip to content
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

Open
wants to merge 24 commits into
base: main
Choose a base branch
from

Conversation

aaditysharma1
Copy link
Member

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.

aaditysharma1 and others added 24 commits June 6, 2024 00:25
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.
@lucadealfaro
Copy link
Collaborator

Do we still think we need this? I lost track...

@aaditysharma1
Copy link
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.

@lucadealfaro
Copy link
Collaborator

lucadealfaro commented Jul 31, 2024 via email

@aaditysharma1
Copy link
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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants