pygoa_gemini
A simple python library for working with the Gemini Observatory Archive (GOA) APIs
Installation
The scripts require a standard python distribution that includes the requests package. This is compatible with both Python 2.7 and Python 3.6+.
Then install the library by downloading and unpacking the zip file or use git,
git clone https://github.com/bryanmiller/pygoa_gemini.git
or pip
pip install pygoa-gemini
Authentication
In order to download prioprietary data you must provide the GOA authentication cookie from a web browser. Updated instructions for how to find the cookie are given below.
First login to https://archive.gemini.edu with your archive account. Associate your account to programs with proprietary data using the program key provided to the PI. See the GOA help page for more details.
Safari
- Go to Preferences - Advanced and turn on "Show Develop menu in menu bar".
- Click "Show Web Inspector" in the Develop menu.
- Select Cookies in the Storage tab. The cookie you need is called gemini_archive_session.
Firefox
- Select Tools->Web Developer->Storage Inspector.
- Click on "Cookies" and select "https://archive.gemini.edu". The cookie you need is called gemini_archive_session.
Chrome
- Select View->Developer->Developer Tools.
- Click on "Cookies" and select "https://archive.gemini.edu". The cookie you need is called gemini_archive_session.
Copy the value of the cookie and store it in a hidden file called
Release files for pygoa-gemini 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pygoa-gemini-1.0.0.tar.gz | 3.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pygoa_gemini-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.1 kB
Release files / pygoa-gemini-1.0.0.tar.gz
| Download URL | pygoa-gemini-1.0.0.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7ba67cb250cd566fbf91c663e30f188498a7036934344de1f79b5874edaf9107
|
|
BLAKE2b-256 checksum How to use checksums |
f11fa6d80389a3ba9f9160f96d57bfb392c58a6697f363a672130a6d6968e1c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.4
|
Release files / pygoa_gemini-1.0.0-py3-none-any.whl
| Download URL | pygoa_gemini-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
edd23864e277821aa4bd5ed7de2043c713df663d5107b7ae38b368aaf8e12927
|
|
BLAKE2b-256 checksum How to use checksums |
9a060abd78a1e266571a70c7b568326accb1dfecb8dd3c904b13575c6446dfd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.4
|