Skip to content

Instantly share code, notes, and snippets.

View zemogle's full-sized avatar

Edward Gomez zemogle

View GitHub Profile
@zemogle
zemogle / world-countries-regions.json
Last active November 8, 2021 09:59
World Countries including region and economic hemisphere as JSON
{
"AD": {
"name": "Andorra",
"region": "Europe",
"hemisphere": "Global North"
},
"AE": {
"name": "United Arab Emirates",
"region": "Middle east",
"hemisphere": "Global South"
@zemogle
zemogle / Opening remote LCO FITS files.ipynb
Created October 16, 2019 10:17
Analyse data files directly from the LCO archive
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@zemogle
zemogle / moon.py
Created July 9, 2019 08:20
Schedule observations of Moon using Las Cumbres Observatory
from datetime import datetime, timedelta
import os
import requests
import logging
import json
import click
from astropy.time import Time
from astropy.coordinates import EarthLocation, get_moon, AltAz, get_sun
@zemogle
zemogle / lco_photometry_fz.ipynb
Created May 9, 2018 13:02
Photometry using FZ files from LCO
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@zemogle
zemogle / valhalla-api-test.js
Created August 4, 2017 08:46
LCO observing portal test
function submit_request(){
var target = {
"type": "SIDEREAL",
"name": "M42",
"ra": 83.8220792,
"dec": -5.3911111,
"proper_motion_ra": 1.67,
"proper_motion_dec": -0.3,
"parallax": 0.0,
"coordinate_system": "ICRS",
@zemogle
zemogle / .gitignore
Last active March 10, 2017 17:15
Timelapse creation from LCO data
*.pyc
secrets.py