Skip to content

Instantly share code, notes, and snippets.

View stargaser's full-sized avatar

David Shupe stargaser

View GitHub Profile
@stargaser
stargaser / parquet_to_zort.py
Created June 30, 2021 19:53
Convert ZTF Parquet lightcurve files to zort format
#!/usr/bin/env python3
import os
import pyarrow.parquet as pq
import pandas as pd
import numpy as np
def parquet_to_asciilc(inpath, outdir):
@stargaser
stargaser / testing_1.0dev9488_errors.txt
Created July 22, 2014 18:47
Errors testing 1.0dev9488 of astropy
This file has been truncated, but you can view the full file.
running test
running build
running build_py
running build_ext
skipping 'astropy/table/_np_utils.c' Cython extension (up-to-date)
skipping 'astropy/time/erfa_time.c' Cython extension (up-to-date)
skipping 'astropy/convolution/boundary_extend.c' Cython extension (up-to-date)
skipping 'astropy/convolution/boundary_fill.c' Cython extension (up-to-date)
skipping 'astropy/convolution/boundary_none.c' Cython extension (up-to-date)
skipping 'astropy/convolution/boundary_wrap.c' Cython extension (up-to-date)
@stargaser
stargaser / gist:46fbaf3c63788b44b3b9
Created July 2, 2014 22:13
Test of astropy 0.4rc1, installed using conda, on OS X 10.9.4, after doing "unsetenv PYTHONPATH".
In [3]: astropy.test(package="wcs")
============================= test session starts ==============================
platform darwin -- Python 2.7.7 -- pytest-2.5.1
Running tests with Astropy version 0.4rc1.
Running tests in /Users/shupe/anaconda/lib/python2.7/site-packages/astropy/wcs.
Platform: Darwin-13.3.0-x86_64-i386-64bit
Executable: /Users/shupe/anaconda/python.app/Contents/MacOS/python
@stargaser
stargaser / gist:42ea7425f72581f094fc
Last active August 29, 2015 14:03
Test of astropy 0.4rc1 installed with conda, on OS X 10.9.4 system
In [16]: astropy.test(package="wcs")
============================= test session starts ==============================
platform darwin -- Python 2.7.7 -- pytest-2.5.1
Running tests with Astropy version 0.4rc1.
Running tests in /Users/shupe/anaconda/lib/python2.7/site-packages/astropy/wcs.
Platform: Darwin-13.3.0-x86_64-i386-64bit
Executable: /Users/shupe/anaconda/python.app/Contents/MacOS/python
@stargaser
stargaser / tpv2sip_derivation.ipynb
Last active December 30, 2015 06:39
Convert TPV distortion coefficients to SIP representation
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.