Skip to content

Instantly share code, notes, and snippets.

View keflavich's full-sized avatar

Adam Ginsburg keflavich

View GitHub Profile
@keflavich
keflavich / gist:9139427
Last active August 29, 2015 13:56
mwe_interactive
{
"metadata": {
"name": "",
"signature": "sha256:6280333d104e04551440c924b25578a7ddbc9946ec0d9b34419f2d9d6521e4bb"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
import bs4
import requests
import os
import astropy.utils.data as aud
import glob
import montage
from astropy.io import fits
import shutil
# These are URLs corresponding to the region that overlaps l=49 to l=50
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
remotes/jwoillez/issue287$ python setup.py test --remote-data
running test
running build
running build_py
running egg_info
writing requirements to astroquery.egg-info/requires.txt
writing astroquery.egg-info/PKG-INFO
writing top-level names to astroquery.egg-info/top_level.txt
writing dependency_links to astroquery.egg-info/dependency_links.txt
reading manifest file 'astroquery.egg-info/SOURCES.txt'
import numpy as np
import warnings
r2deg = 180/np.pi
"""
.. TODO::
When any section length is zero, that means the following values are to be
ignored. No warning is needed.
"""
def read_lmv(fn):
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.