This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import rasterio as rio | |
url = "https://data.lpdaac.earthdatacloud.nasa.gov/lp-prod-protected/HLSS30.020/HLS.S30.T22KDF.2023030T133831.v2.0/HLS.S30.T22KDF.2023030T133831.v2.0.B05.tif" | |
token = os.environ.get("NASA_EARTHDATA_TOKEN") | |
gdal_env = { | |
"GDAL_HTTP_HEADERS": f"Authorization: Bearer {token}", | |
"GDAL_DISABLE_READDIR_ON_OPEN": "EMPTY_DIR", | |
} |
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.
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
路 Running 111 total benchmarks (1 commits * 1 environments * 111 benchmarks) | |
[ 0.00%] 路路 Building for existing-py_usr_bin_python | |
[ 0.00%] 路路 Benchmarking existing-py_usr_bin_python | |
[ 0.90%] 路路路 Running bench_app.LaplaceInplace.time_it ok | |
[ 0.90%] 路路路路 | |
========= ========== | |
update | |
--------- ---------- | |
inplace 214.81ms | |
normal 357.44ms |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
路 Running 111 total benchmarks (1 commits * 1 environments * 111 benchmarks) | |
[ 0.00%] 路路 Building for existing-py_usr_bin_python | |
[ 0.00%] 路路 Benchmarking existing-py_usr_bin_python | |
[ 0.90%] 路路路 Running bench_app.LaplaceInplace.time_it ok | |
[ 0.90%] 路路路路 | |
========= ========== | |
update | |
--------- ---------- | |
inplace 208.85ms | |
normal 359.32ms |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import math | |
import json | |
import pyproj | |
R = 6371000 | |
def tile_gall_peters_projection(): |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import os | |
import json | |
import gzip | |
import requests | |
from datetime import datetime | |
from dateutil.parser import parse |
NewerOlder