Skip to content

Instantly share code, notes, and snippets.

View betolink's full-sized avatar

Luis López betolink

View GitHub Profile
@betolink
betolink / remote-access.ipynb
Last active July 2, 2024 17:56
xarray remote access
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@betolink
betolink / performance.html
Last active April 15, 2024 00:26
earthaccess + Dask on a 4 node raspberry pi 4 (4gb) cluster.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Dask Performance Report</title>
<link rel="shortcut icon" href="https://docs.dask.org/en/latest/_static/images/favicon.ico" />
<style>
html, body {
box-sizing: border-box;
display: flow-root;
@betolink
betolink / Dask-earthaccess.ipynb
Created March 23, 2024 19:17
Dask distributed EDL auth
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@betolink
betolink / cloud-optimized-hdf5.ipynb
Created January 30, 2024 20:33
cloud optimized HDF5
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@betolink
betolink / mur-access-patterns.ipynb
Created December 21, 2023 22:38
Benchmarking different access patterns to MUR
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@betolink
betolink / read_atl10.py
Created September 22, 2023 02:01
earthaccess-h5coro-coiled
#!/usr/bin/env python
import coiled
import geopandas as gpd
import numpy as np
import pandas as pd
from rich import print as rprint
from itertools import product
from pqdm.threads import pqdm
@betolink
betolink / earthaccess-kerchunk.ipynb
Last active August 28, 2023 20:57
earthaccess-kerchunk-store
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
from collections import namedtuple
from functools import partial
from shapely.affinity import translate
from shapely.geometry.multipolygon import MultiPolygon
from shapely.geometry.point import Point
from shapely.geometry.polygon import Polygon
from shapely.ops import transform
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.