Skip to content

Commit 2abafe5

Browse files
scottyhqJack-Hayes
andauthored
Search Neon and NOAA LiDAR Archives (#72)
* usgs vendor dem pull draft * transferred usgs dem load modules * neon vendor dem load draft * neon regex spatial filter * added download funcs drafts * 3dep ept download func * download funcs for non-neon/usgs * NOAA cloud-hosted dem parsing * added and fixed NOAA DEM work :) * remove pdal funcs * drafted LPC tile funcs (3dep,neon,noaa) * finished als tile search and download * added ept pipeline JSON build option * added tests and revised vendor_dems.ipynb * notebook updates * unblock environment on osx * rename and simplify notebook, add api docs * update docs * adjust tests, minor search logic simplifications * try to ignore SSL warning * reduce ci matrix, use pixi action cache * update lockfile * try with frozen env --------- Co-authored-by: Jack-Hayes <[email protected]>
1 parent ede0f28 commit 2abafe5

File tree

21 files changed

+3472
-562
lines changed

21 files changed

+3472
-562
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
strategy:
4141
fail-fast: false
4242
matrix:
43-
python-version: ["3.10", "3.11", "3.12"]
43+
python-version: ["3.11", "3.12"]
4444
# windows-latest,
4545
runs-on: [ubuntu-latest, macos-14]
4646
#include:

.github/workflows/pixi.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,8 @@ jobs:
1717
with:
1818
environments: dev
1919
manifest-path: pyproject.toml
20-
cache: false
21-
locked: false
22-
#cache-write:
23-
# ${{ github.event_name == 'push' && github.ref_name == 'main' }}
20+
cache: true
21+
frozen: true
2422

2523
# NOTE: https://github.com/prefix-dev/setup-pixi/issues/136
2624
- name: Ensure Dynamic version

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
*.bak
22
notebooks/
3+
tests/debug.ipynb
34

45
# Byte-compiled / optimized / DLL files
56
__pycache__/

.pre-commit-config.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@ ci:
22
autoupdate_commit_msg: "chore: update pre-commit hooks"
33
autofix_commit_msg: "style: pre-commit fixes"
44

5-
exclude: ^.cruft.json|.copier-answers.yml$
6-
75
repos:
86
- repo: https://github.com/adamchainz/blacken-docs
97
rev: "1.19.1"

docs/api.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,22 @@ IO
5252
sliderule.sample_3dep
5353
xarray.to_dataset
5454
xarray.open_maxar_browse
55+
xarray.load_usgs_dem
56+
xarray.load_neon_dem
57+
xarray.load_noaa_dem
58+
xarray.load_ncalm_dem
5559
download.download_item
5660
download.read_href
61+
download.build_usgs_ept_pipeline
62+
download.download_usgs_dem
63+
download.download_neon_dem
64+
download.download_noaa_dem
65+
download.download_ncalm_dem
66+
download.fetch_usgs_lpc_tiles
67+
download.fetch_neon_lpc_tiles
68+
download.fetch_noaa_lpc_tiles
69+
download.fetch_ncalm_lpc_tiles
70+
5771

5872
Plot
5973
----

0 commit comments

Comments
 (0)