OttoStruve / muler

A Python package for working with pipeline-produced spectra from IGRINS, HPF, and Keck NIRSPEC
https://muler.readthedocs.io
MIT License
14 stars 9 forks source link

Demo a tutorial for programmatically fetching IGRINS data from UTBox #102

Closed gully closed 2 years ago

gully commented 2 years ago

If you store data on UTBox with a static link, you can programmatically fetch the data with Python requests.

This demo addresses part of Issue #80, a key open question remains though: how to programmatically generate the file name key:value dictionary lookup for tens or hundreds of thousands of individual files?

IGRINS filename↔️UTBox file id

You can combine a lookup table and this notebook to then search and fetch the entire IGRINS archive.

gully commented 2 years ago

I'm going to merge this to get it to show up on the new fancy tutorial landing page! Yay! We can modify it later if we want to.