ioos / ioos_code_lab

Notebook demonstrations and examples
https://ioos.github.io/ioos_code_lab
MIT License
8 stars 10 forks source link

pyobis example notebook using known dataset ids #106

Closed MathewBiddle closed 1 year ago

MathewBiddle commented 1 year ago

Please provide a detailed description of the suggested example below: The example notebook, provided above, uses two google spreadsheets (which contain OBIS dataset IDs affiliated with various IOOS efforts) to collect occurrence observations in OBIS. I would like to make a notebook that does the same thing, but uses the pyobis package to gather data.

Maybe we can think of a more logical way to manage the dataset IDs too? I don't think we can do searches in OBIS for related keywords, but could be possible?

It would like to see a heatmap of where affiliated IOOS networks have contributed occurrence observations.

MathewBiddle commented 1 year ago

Create a map and histograms similar to what is done in this notebook

https://github.com/ayushanand18/pyobis/blob/bio-mapping/notebooks/biodiversity_mapping.ipynb

ocefpaf commented 1 year ago

@MathewBiddle the link above was from a branch that no longer exists. Here is a permalink for future reference: https://github.com/ayushanand18/pyobis/blob/5907b0f37a26600f4945dfc217a8894bea6d9349/notebooks/biodiversity_mapping.ipynb

MathewBiddle commented 1 year ago

Good catch - I'd like to clean that notebook up so there aren't a bunch of install try/except clauses.

I'd really like to be able to create the figure below, but more accurate and reproducible: image

Notice the histogram axes don't match with the map axis. We need to find a way to map the latitude's from the map to the histogram latitude 'category'. It's a fun problem, I just haven't had the time to explore.

Also, should we make a copy of that notebook or just start from scratch?

MathewBiddle commented 1 year ago

Figured out how to manage a list of known dataset IDs. Once the issue below is closed we should be able to search for datasets associated with US MBON using pyobis:

US MBON institution record in OBIS: https://obis.org/institute/23070