Skip to content

Instantly share code, notes, and snippets.

View jsignell's full-sized avatar

Julia Signell jsignell

View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
// Single-object route
Route: /api/{plural of object}/{id}
example: /api/people/8
Allowable methods: GET, PATCH, DELETE
// successful response
{
"id": 8,
"name": "Alex",
@jsignell
jsignell / Dask-maintenance.md
Last active May 29, 2020 13:37
How to watch dask
@jsignell
jsignell / pre-commit-ci.yml
Last active May 8, 2024 20:22
Github Action to run pre-commit on files changed between target branch and base branch
name: pre-commit-ci
on:
pull_request:
branches:
- main
jobs:
pre-commit-ci:
name: Lint changed backend files
runs-on: ubuntu-latest
steps:
@jsignell
jsignell / UploadFile.py
Created February 25, 2021 14:32
Simple file upload worker plugin for dask.
import os
from distributed import WorkerPlugin
class UploadFile(WorkerPlugin):
"""A WorkerPlugin to upload a local file to workers.
Parameters
----------
filepath: str
A path to the file to upload
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Benefits of STAC

SpatioTemporal Asset Catalog (STAC) is a community-built specification that aims to standardize how people find and interact with geospatial data.

Below are some of the most valuable features of STAC.

Catalog

If your data is not findable it does not exist. You need to be able to find where it is and know what it is in order to use it. Cataloging data means that: