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
geo_buff (int): Geographic buffer for which to download data around occurrence point (kilometers).
65
65
time_buff (float list): Time bounds for which to download data around occurrence day (days). For instance, time_buff = [-7, 0] will download data from 7 days before the occurrence to the occurrence date.
66
-
depth_request (str): For 4D data: 'all' -> data for all depths. 'nearest' -> closest lower available depth. Anything else downloads surface data.
66
+
depth_request (str): For 4D data: 'all' -> data for all depths. 'nearest' -> closest available depth. 'nearest_lower' -> closest lower available depth. Anything else downloads surface data.
67
67
downsample (dict): Number of points to skip between each downloaded point, for each dimension, using its standard name as a key.
68
68
slice (int tuple): Slice of the enrichment file to use for enrichment.
69
69
maxpoints(int): Maximum number of points to download.
url (str): Dataset url (including credentials if needed).
255
255
geo_buff (int): Geographic buffer for which to download data around occurrence point (kilometers).
256
256
time_buff (float list): Time bounds for which to download data around occurrence day (days). For instance, time_buff = [-7, 0] will download data from 7 days before the occurrence to the occurrence date.
257
-
depth_request (str): For 4D data: 'all' -> data for all depths. 'nearest' -> closest lower available depth. Anything else downloads surface data.
257
+
depth_request (str): For 4D data: 'all' -> data for all depths. 'nearest' -> closest available depth. 'nearest_lower' -> closest lower available depth. Anything else downloads surface data.
258
258
downsample (dict): Number of points to skip between each downloaded point, for each dimension, using its standard name as a key.
259
259
maxpoints(int): Maximum number of points to download.
260
260
force_download(bool): If True, download data regardless of cache status.
geo_buff (int): Geographic buffer for which to download data around occurrence point (kilometers).
368
368
time_buff (float list): Time bounds for which to download data around occurrence day (days). For instance, time_buff = [-7, 0] will download data from 7 days before the occurrence to the occurrence date.
369
-
depth_request (str): For 4D data: 'all' -> data for all depths. 'nearest' -> closest lower available depth. Anything else downloads surface data.
369
+
depth_request (str): For 4D data: 'all' -> data for all depths. 'nearest' -> closest available depth. 'nearest_lower' -> closest lower available depth. Anything else downloads surface data.
370
370
downsample (dict): Number of points to skip between each downloaded point, for each dimension, using its standard name as a key.
371
371
maxpoints(int): Maximum number of points to download.
372
372
force_download(bool): If True, download data regardless of cache status.
@@ -559,7 +559,7 @@ def row_enrich(row, remote_ds, local_ds, bool_ds, dimdict, var, depth_request, d
559
559
bool_ds (netCDF4.Dataset): Local dataset recording whether data has already been downloaded.
560
560
dimdict (dict): Dictionary of dimensions as returned by :func:`geoenrich.satellite.get_metadata`.
561
561
var (dict): Variable dictionary as returned by :func:`geoenrich.satellite.get_metadata`.
562
-
depth_request (str): For 4D data: 'all' -> data for all depths. 'nearest' -> closest lower available depth. Anything else downloads surface data.
562
+
depth_request (str): For 4D data: 'all' -> data for all depths. 'nearest' -> closest available depth. 'nearest_lower' -> closest lower available depth. Anything else downloads surface data.
563
563
downsample (dict): Number of points to skip between each downloaded point, for each dimension, using its standard name as a key.
564
564
force_download(bool): If True, download data regardless of cache status.
565
565
Returns:
@@ -679,7 +679,7 @@ def calculate_indices(row, dimdict, var, depth_request, downsample):
679
679
row (pandas.Series): GeoDataFrame row to enrich.
680
680
dimdict (dict): Dictionary of dimensions as returned by geoenrich.satellite.get_metadata.
681
681
var (dict): Variable dictionary as returned by geoenrich.satellite.get_metadata.
682
-
depth_request (str): For 4D data: 'all' -> data for all depths. 'nearest' -> closest lower available depth. Anything else downloads surface data.
682
+
depth_request (str): For 4D data: 'all' -> data for all depths. 'nearest' -> closest available depth. 'nearest_lower' -> closest lower available depth. Anything else downloads surface data.
683
683
downsample (dict): Number of points to skip between each downloaded point, for each dimension, using its standard name as a key.
684
684
Returns:
685
685
dict: Dictionary of indices for each dimension (keys are standard dimension names).
@@ -727,12 +727,16 @@ def calculate_indices(row, dimdict, var, depth_request, downsample):
727
727
# if depth is a dimension, select surface layer, nearest lower value or everything
728
728
729
729
if ('depth'indimdict) and (dimdict['depth']['name'] invar['params']):
geo_buff (int): Geographic buffer for which to download data around occurrence point (kilometers).
1089
1093
time_buff (float list): Time bounds for which to download data around occurrence day (days). For instance, time_buff = [-7, 0] will download data from 7 days before the occurrence to the occurrence date.
1090
-
depth_request (str): For 4D data: 'all' -> data for all depths. 'nearest' -> closest lower available depth. Anything else downloads surface data.
1094
+
depth_request (str): For 4D data: 'all' -> data for all depths. 'nearest' -> closest available depth. 'nearest_lower' -> closest lower available depth. Anything else downloads surface data.
1091
1095
downsample (dict): Number of points to skip between each downloaded point, for each dimension, using its standard name as a key.
geo_buff (int): Geographic buffer for which to download data around occurrence point (kilometers).
1126
1130
time_buff (float list): Time bounds for which to download data around occurrence day (days). For instance, time_buff = [-7, 0] will download data from 7 days before the occurrence to the occurrence date.
1127
-
depth_request (str): For 4D data: 'all' -> data for all depths. 'nearest' -> closest lower available depth. Anything else downloads surface data.
1131
+
depth_request (str): For 4D data: 'all' -> data for all depths. 'nearest' -> closest available depth. 'nearest_lower' -> closest lower available depth. Anything else downloads surface data.
1128
1132
downsample (dict): Number of points to skip between each downloaded point, for each dimension, using its standard name as a key.
0 commit comments