Skip to content

Instantly share code, notes, and snippets.

Arfon Smith arfon

Block or report user

Report or block arfon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@arfon
arfon / new editor.md
Created Feb 14, 2019
Adding a new JOSS editor
View new editor.md

New JOSS editors

To add you to the JOSS editorial team we need:

  • Your GitHub username
  • Your editorial topic areas/specialisms
  • A picture for the JOSS site
  • A short biography, including your professional affiliation
  • An email address for the JOSS Google group.
  • Your ORCID
View petabytes-to-science.md

Background and Purpose

Over the last four decades, AURA has driven a science model where astronomers and astrophysicists from any University or Institution, through rigorous peer-review, can access forefront facilities without having to be “black-belt” experts in the complex machinery of modern ground or space based telescopes. AURA’s most successful model of this broad engagement has been the Hubble Space Telescope, which, when measured by the metric of number of refereed papers/year integrated over the lifetime of the Observatory, has become the most productive science facility in history. Today, AURA confronts a new challenge: they are building a number of new facilities, which are specifically designed to generate huge data sets, most notably the Large Synoptic Survey Telescope (LSST). LSST will continuously survey the entire Southern sky every three nights, generating over 15 trillion bytes of raw data per night. The over-arching science goals driving this facility are well known: The Nature of Dark

@arfon
arfon / repo-cleanup.rb
Created Jan 17, 2019
GitHub repo cleanup
View repo-cleanup.rb
require 'octokit'
GH_TOKEN = "XXXXXXXXXXXXXXXXXXXXXXXXXX"
GITHUB = Octokit::Client.new(:auto_paginate => true, :access_token => GH_TOKEN)
repositories = GITHUB.repositories('arfon')
puts "Working with #{repositories.size} repositories"
repositories.each do |r|
View goofys.bash
# Install go
$ sudo apt-get install golang-go
# Download goofys package
$ go get github.com/kahing/goofys
# Install goofys
$ go install github.com/kahing/goofys
# Copy the goofys binary to somewhere in your path
@arfon
arfon / tess.astroquery.mast.py
Last active Dec 6, 2018
Query TESS data at MAST
View tess.astroquery.mast.py
# This script queries MAST for TESS FFI data for a single sector/camera/chip
# combination and downloads the data from the AWS public dataset rather than
# from MAST servers.
# Working with http://astroquery.readthedocs.io/en/latest/mast/mast.html
# Make sure you're running the latest version of Astroquery:
# pip install https://github.com/astropy/astroquery/archive/master.zip
from astroquery.mast import Observations
import boto3
@arfon
arfon / LICENSE
Last active Mar 14, 2019
How to make TESS FITS cubes using Astrocut and MAST
View LICENSE
BSD 3-Clause License
Copyright (C) 2010-2018 Association of Universities for Research in Astronomy (AURA)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
@arfon
arfon / LICENSE
Last active Jul 3, 2018
Ruby class for validating ORCID formats and checksums
View LICENSE
The MIT License (MIT)
Copyright (c) 2018 Arfon Smith
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
@arfon
arfon / README.md
Created Jun 24, 2016
Octokit.net GitHub Activity
View README.md
@arfon
arfon / README.md
Created Jun 24, 2016
GitHub VisualStudio activity
View README.md
@arfon
arfon / README.md
Last active Jun 24, 2016
Jekyll GitHub Activity
You can’t perform that action at this time.