From fa140848c6f50ae99b868730c26d79153edd0b5a Mon Sep 17 00:00:00 2001 From: Ethan White Date: Fri, 14 Mar 2025 13:39:02 -0400 Subject: [PATCH 1/4] Add missing import to README example --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 132c995..ec27f52 100644 --- a/README.md +++ b/README.md @@ -15,6 +15,7 @@ $ pip install neonutilities ``` import neonutilities as nu +import os bird = nu.load_by_product(dpid="DP1.10003.001", site="RMNP", From 962dd5e195c358764c2e5a79379052004ccce5b5 Mon Sep 17 00:00:00 2001 From: Ethan White Date: Fri, 14 Mar 2025 13:39:15 -0400 Subject: [PATCH 2/4] Have README example download available data The second README example currently returns: "There are no data available at the selected site and year." The website indicates that this produce is available for WREF in 2022 so this could be a deeper issue, but for this change ensures that the demo works for users. --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ec27f52..fb2a0f4 100644 --- a/README.md +++ b/README.md @@ -22,10 +22,10 @@ bird = nu.load_by_product(dpid="DP1.10003.001", package="expanded", release="RELEASE-2024", token=os.environ.get("NEON_TOKEN")) - + nu.by_tile_aop(dpid="DP3.30015.001", site="WREF", - year=2022, + year=2021, easting=[571000,578000], northing=[5079000,5080000], savepath="filepath on your machine", @@ -54,4 +54,3 @@ Disclaimer --- Information and documents contained within this repository are available as-is. Codes or documents, or their use, may not be supported or maintained under any program or service and may not be compatible with data currently available from the NEON Data Portal. - From 78c6364ac294f42c61416866f86c364fe4d9f673 Mon Sep 17 00:00:00 2001 From: Ethan White Date: Wed, 26 Mar 2025 11:09:36 -0400 Subject: [PATCH 3/4] Add missing new line to properly render example --- src/neonutilities/unzip_and_stack.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/neonutilities/unzip_and_stack.py b/src/neonutilities/unzip_and_stack.py index cf0e7cf..0e5ddd6 100644 --- a/src/neonutilities/unzip_and_stack.py +++ b/src/neonutilities/unzip_and_stack.py @@ -1098,6 +1098,7 @@ def stack_by_table(filepath, Example ------------------ To stack PAR data (DP1.00024.001) downloaded from the NEON data portal + >>> pardat = stack_by_table("/filepath/NEON_par.zip") Created on Tue Mar 5 2024 From caae60c728c7aa6a70fa4822e9933ada1095d4fa Mon Sep 17 00:00:00 2001 From: Ethan White Date: Wed, 26 Mar 2025 11:19:41 -0400 Subject: [PATCH 4/4] Add urls for docs and source to pyproject.toml --- pyproject.toml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index 09c77c2..14a2b74 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,6 +13,8 @@ authors = [ description="A package for accessing and wrangling data generated and published by the National Ecological Observatory Network." readme = "README.md" requires-python = ">=3.9" +urls.Documentation = "https://neon-utilities-python.readthedocs.io/en/latest/" +urls.Source = "https://github.com/NEONScience/NEON-utilities-python/" dependencies = [ "importlib-resources", "pandas",