You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
f"{site} is part of the flight box for {flightSite}. Downloading data from {flightSite}."
183
+
f"{site} is part of the NEON flight box for {flightSite}. Downloading data from {flightSite}."
184
184
)
185
185
else:
186
186
logging.info(
187
-
f"{site} is an aquatic site and is sometimes included in the flight box for {flightSite}. Aquatic sites are not always included in the flight coverage every year.\nDownloading data from {flightSite}. Check data to confirm coverage of {site}."
187
+
f"{site} is a NEON aquatic site and is sometimes included in the flight box for {flightSite}. Aquatic sites are not always included in the flight coverage every year.\nDownloading data from {flightSite}. Check data to confirm coverage of {site}."
188
188
)
189
189
site=flightSite
190
190
returnsite
@@ -220,7 +220,7 @@ def validate_dpid(dpid):
220
220
dpid_pattern="DP[1-4]{1}.[0-9]{5}.00[1-2]{1}"
221
221
ifnotre.fullmatch(dpid_pattern, dpid):
222
222
raiseValueError(
223
-
f"{dpid} is not a properly formatted data product ID. The correct format is DP#.#####.00#"
223
+
f"{dpid} is not a properly formatted NEON data product ID. The correct format is DP#.#####.00#"
f"{dpid} is the Field spectral data product, which is published as tabular data. Use zipsByProduct() or loadByProduct() to download these data."
370
+
f"NEON {dpid} is the Field spectral data product, which is published as tabular data. Use zipsByProduct() or loadByProduct() to download these data."
371
371
)
372
372
373
373
374
374
defvalidate_site_format(site):
375
375
site_pattern="[A-Z]{4}"
376
376
ifnotre.fullmatch(site_pattern, site):
377
377
raiseValueError(
378
-
f"{site} is an invalid site format. A four-letter NEON site code is required. NEON site codes can be found here: https://www.neonscience.org/field-sites/explore-field-sites"
378
+
f"{site} is an invalid NEON site format. A four-letter NEON site code is required. NEON site codes can be found here: https://www.neonscience.org/field-sites/explore-field-sites"
379
379
)
380
380
381
381
@@ -393,13 +393,13 @@ def validate_year(year):
393
393
year_pattern="20[1-9][0-9]"
394
394
ifnotre.fullmatch(year_pattern, year):
395
395
raiseValueError(
396
-
f'{year} is an invalid year. Year is required in the format "2017" or 2017, eg. AOP data are available from 2013 to present.'
396
+
f'{year} is an invalid year. Year is required in the format "2017" or 2017, eg. NEON AOP data are available from 2013 to present.'
f"There are no {dpid} data available at the site {site} in {year}. \nTo display available dates for a given data product and site, use the function list_available_dates()."
633
+
f"There are no NEON {dpid} data available at the site {site} in {year}. \nTo display available dates for a given data product and site, use the function list_available_dates()."
634
634
)
635
635
return
636
636
@@ -771,7 +771,7 @@ def by_file_aop(
771
771
# error message if nothing is available
772
772
iflen(site_year_urls) ==0:
773
773
logging.info(
774
-
f"There are no {dpid} data available at the site {site} in {year}.\nTo display available dates for a given data product and site, use the function list_available_dates()."
774
+
f"There are no NEON {dpid} data available at the site {site} in {year}.\nTo display available dates for a given data product and site, use the function list_available_dates()."
775
775
)
776
776
# print("There are no data available at the selected site and year.")
777
777
return
@@ -782,14 +782,14 @@ def by_file_aop(
782
782
# get the number of files in the dataframe, if there are no files to download, return
783
783
iflen(file_url_df) ==0:
784
784
# print("No data files found.")
785
-
logging.info("No data files found.")
785
+
logging.info("No NEON data files found.")
786
786
return
787
787
788
788
# if 'PROVISIONAL' in releases and not include_provisional:
789
789
ifinclude_provisional:
790
790
# log provisional included message
791
791
logging.info(
792
-
"Provisional data are included. To exclude provisional data, use input parameter include_provisional=False."
792
+
"Provisional NEON data are included. To exclude provisional data, use input parameter include_provisional=False."
793
793
)
794
794
else:
795
795
# log provisional not included message and filter to the released data
print(f"{dpid} is not a remote sensing product. Use zipsByProduct()")
1039
+
print(f"NEON {dpid} is not a remote sensing product. Use zipsByProduct()")
1040
1040
return
1041
1041
1042
1042
# replace collocated site with the site name it's published under
@@ -1048,7 +1048,7 @@ def by_tile_aop(
1048
1048
# error message if nothing is available
1049
1049
iflen(site_year_urls) ==0:
1050
1050
logging.info(
1051
-
f"There are no {dpid} data available at the site {site} in {year}.\nTo display available dates for a given data product and site, use the function list_available_dates()."
1051
+
f"There are no NEON {dpid} data available at the site {site} in {year}.\nTo display available dates for a given data product and site, use the function list_available_dates()."
1052
1052
)
1053
1053
return
1054
1054
@@ -1057,27 +1057,27 @@ def by_tile_aop(
1057
1057
1058
1058
# get the number of files in the dataframe, if there are no files to download, return
1059
1059
iflen(file_url_df) ==0:
1060
-
logging.info("No data files found.")
1060
+
logging.info("No NEON data files found.")
1061
1061
return
1062
1062
1063
1063
# if 'PROVISIONAL' in releases and not include_provisional:
1064
1064
ifinclude_provisional:
1065
1065
# print provisional included message
1066
1066
logging.info(
1067
-
"Provisional data are included. To exclude provisional data, use input parameter include_provisional=False."
1067
+
"Provisional NEON data are included. To exclude provisional data, use input parameter include_provisional=False."
0 commit comments