Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/environmental-modeling-workflows/watershed-workflow
/ functions
Functions
1,294 in github.com/environmental-modeling-workflows/watershed-workflow
⨍
Functions
1,294
◇
Types & classes
71
↳
Endpoints
3
↓ 1 callers
Function
smoothInternalSharpAngles
Smooths any internal angle less than min_angle.
watershed_workflow/angles.py:157
↓ 1 callers
Function
smoothOutletSharpAngles
Smooths angles at the downstream end of a river, which may include HUC boundaries.
watershed_workflow/angles.py:309
↓ 1 callers
Function
smoothProfile
Applies gaussian filter smoothing to the bed-profile obtained from DEM. This option becomes important in ag. watersheds when NHDPLus is incon
watershed_workflow/condition.py:539
↓ 1 callers
Function
smoothTimeSeries_DataFrame
Smooth time series data in a DataFrame along the time dimension. Parameters ---------- df : pandas.DataFrame Input DataF
watershed_workflow/data.py:1190
↓ 1 callers
Function
smoothTimeSeries_Dataset
Smooth time series data in a Dataset along the time dimension. Parameters ---------- ds : xr.Dataset Input Dataset with
watershed_workflow/data.py:1308
↓ 1 callers
Function
smoothUpstreamSharpAngles
Smooths sharp angles at the upstream end of a reach, which may include HUC boundaries.
watershed_workflow/angles.py:391
↓ 1 callers
Function
start_docker
(data_library, workdir, port, pull='missing', tag='master', for_ats=False)
bin/run_ww_lab.py:45
↓ 1 callers
Function
synthesizeData
Renames and calculates derived properties in a MUKEY-based data frame, in place
watershed_workflow/sources/manager_nrcs.py:82
↓ 1 callers
Function
to_df
(coords, elems)
watershed_workflow/test/test_10_mesh_mixed.py:97
↓ 1 callers
Method
to_file
Save the network for this river only to a geopandas file. Note this file can be reloaded via: $> watershed_workflow.river_tree.River
watershed_workflow/river_tree.py:737
↓ 1 callers
Function
to_proj
Convert workflow CRS standard to a Proj CRS. Parameters ---------- crs : CRS Workflow CRS to convert. Returns
watershed_workflow/crs.py:83
↓ 1 callers
Function
translate_cells
(data, offsets, types, cell_data_raw)
watershed_workflow/vtk_io.py:360
↓ 1 callers
Function
truncated_tree_iter
(n)
watershed_workflow/river_tree.py:1240
↓ 1 callers
Method
validate
Checks the validity of the mesh, or throws an AssertionError.
watershed_workflow/mesh.py:1064
↓ 1 callers
Function
versions_from_file
Try to determine the version from _version.py if present.
versioneer.py:1364
↓ 1 callers
Function
versions_from_parentdir
Try to determine the version from the parent directory name. Source tarballs conventionally unpack into a directory that includes both the pr
versioneer.py:1322
↓ 1 callers
Function
versions_from_parentdir
Try to determine the version from the parent directory name. Source tarballs conventionally unpack into a directory that includes both the pr
watershed_workflow/_version.py:105
↓ 1 callers
Function
wiggle
(coords)
watershed_workflow/test/test_00_shapely.py:34
↓ 1 callers
Method
writeExodus
Write the 3D mesh to ExodusII using arbitrary polyhedra spec. Parameters ---------- filename : str Output
watershed_workflow/mesh.py:1132
↓ 1 callers
Function
xy
Warp a set of points from old_crs to new_crs. Parameters ---------- x : numpy.ndarray X coordinates in the old coordinat
watershed_workflow/warp.py:22
Method
__attrs_post_init__
(self)
watershed_workflow/mesh.py:233
Method
__attrs_post_init__
(self)
watershed_workflow/mesh.py:1032
Method
__call__
(self, arg : Any)
watershed_workflow/resampling.py:39
Method
__call__
(self, arg)
watershed_workflow/resampling.py:48
Method
__call__
(self, reach)
watershed_workflow/resampling.py:61
Method
__call__
(self, reach)
watershed_workflow/resampling.py:78
Method
__call__
(self, point)
watershed_workflow/resampling.py:105
Method
__contains__
(self, k: str)
watershed_workflow/river_tree.py:78
Method
__contains__
(self, name: str)
watershed_workflow/river_tree.py:162
Method
__getitem__
(self, k: str)
watershed_workflow/river_tree.py:66
Method
__getitem__
Faster/preferred getter for properties
watershed_workflow/river_tree.py:151
Method
__getitem__
Get an object
watershed_workflow/split_hucs.py:60
Method
__getitem__
Get item index, setting if default.
watershed_workflow/triangulation.py:48
Method
__init__
:children A nested list specifying a tree of children
watershed_workflow/tinytree.py:76
Method
__init__
StreamLight requires channel properties and energy drivers to calculate photosynthetically active radiation (PAR)
watershed_workflow/stream_light.py:20
Method
__init__
(self, df: gpd.GeoDataFrame, index: int | str)
watershed_workflow/river_tree.py:59
Method
__init__
(self, iterable=None)
watershed_workflow/river_tree.py:89
Method
__init__
(self, message: str, line: shapely.geometry.LineString, seg: shapely.geometry.LineString, cut
watershed_workflow/utils.py:738
Method
__init__
(self, target_length)
watershed_workflow/resampling.py:45
Method
__init__
(self, func, min, max)
watershed_workflow/resampling.py:73
Method
__init__
(self, dist_args, shp)
watershed_workflow/resampling.py:90
Method
__init__
(self)
watershed_workflow/condition.py:231
Method
__init__
(self, cell, edges)
watershed_workflow/condition.py:251
Method
__init__
(self, **kwargs)
watershed_workflow/ui.py:152
Method
__init__
Create the HandledCollection May be called with 0, 1, or 2 args: - If 0, an empty HandledCollection is created. - If 1, the
watershed_workflow/split_hucs.py:34
Method
__init__
(self, msg, list_of_shapes, i_p1, p1, i_p2, p2, intersection)
watershed_workflow/split_hucs.py:538
Method
__init__
(self, ax: 'plt.Axes', items: Optional[List[Tuple[Any, Any, Union[Callable,
watershed_workflow/plot.py:124
Method
__init__
Initialize a Nodes collection. Parameters ---------- decimals : int, optional Number of decimal places fo
watershed_workflow/triangulation.py:32
Method
__init__
Initialize NodesEdges collection. Parameters ---------- objlist : Optional[List[shapely.geometry.LineString | shapely
watershed_workflow/triangulation.py:98
Method
__init__
Also valid is WaterData
watershed_workflow/sources/manager_wbd.py:14
Method
__init__
(self)
watershed_workflow/sources/manager_daymet.py:72
Method
__init__
(self, request : manager_dataset.ManagerDataset.Request, filename :
watershed_workflow/sources/manager_aorc.py:86
Method
__init__
(self)
watershed_workflow/sources/manager_aorc.py:101
Method
__init__
(self, filename=None)
watershed_workflow/sources/manager_pelletier_dtb.py:41
Method
__init__
Initialize shape manager with native data properties. Parameters ---------- name : str Name of the shape
watershed_workflow/sources/manager_shapes.py:53
Method
__init__
(self, filename=None)
watershed_workflow/sources/manager_glhymps.py:37
Method
__init__
(self, request : manager_dataset.ManagerDataset.Request, task_id : s
watershed_workflow/sources/manager_modis_appeears.py:84
Method
__init__
Create a new manager for MODIS data.
watershed_workflow/sources/manager_modis_appeears.py:117
Method
__init__
(self, variant: str | None = None)
watershed_workflow/sources/manager_soilgrids_2017.py:56
Method
__init__
Initialize NLCD manager for specific location and year. Parameters ---------- location : str, optional Lo
watershed_workflow/sources/manager_nlcd.py:67
Method
__init__
Initialize dataset manager with native data properties. Parameters ---------- name : str Name of the data
watershed_workflow/sources/manager_dataset.py:101
Method
__init__
Downloads DEM data from the 3DEP. Parameters ---------- resolution : int Resolution in meters. Valid resolutions
watershed_workflow/sources/manager_3dep.py:24
Method
__init__
Initialize NHD manager. Parameters ---------- dataset_name : str NHD dataset name ('NHDPlus MR v2.1', 'NH
watershed_workflow/sources/manager_nhd.py:69
Method
__init__
Initialize shapefile manager. Parameters ---------- filename : str Path to the shapefile. url : s
watershed_workflow/sources/manager_shapefile.py:28
Method
__init__
Initialize HyRiver manager. Parameters ---------- protocol_name : str HyRiver protocol name (NHD, NHDPlus
watershed_workflow/sources/manager_hyriver.py:16
Method
__init__
Initialize raster manager. Parameters ---------- filename : str Path to the raster file.
watershed_workflow/sources/manager_raster.py:21
Method
__init__
(self, force_download : bool=False)
watershed_workflow/sources/manager_nrcs.py:275
Method
__init__
Initialize Basin3D manager. Parameters ---------- feature_types : List[str], optional Types of monitoring
watershed_workflow/sources/manager_basin3d.py:30
Method
__init__
(self, filename)
watershed_workflow/sources/test/test_manager_raster.py:204
Method
__iter__
(self)
watershed_workflow/river_tree.py:75
Method
__iter__
(self)
watershed_workflow/river_tree.py:119
Method
__iter__
Generator for the collection.
watershed_workflow/split_hucs.py:83
Method
__iter__
Iterable collection
watershed_workflow/triangulation.py:59
Method
__len__
Number of nodes in this tree, including the root.
watershed_workflow/tinytree.py:279
Method
__len__
(self)
watershed_workflow/river_tree.py:63
Method
__len__
(self)
watershed_workflow/split_hucs.py:88
Method
__len__
(self)
watershed_workflow/split_hucs.py:378
Method
__len__
Length is tracked by the counter
watershed_workflow/triangulation.py:44
Method
__repr__
(self)
watershed_workflow/river_tree.py:84
Method
__setitem__
(self, k: str, v: Any)
watershed_workflow/river_tree.py:72
Method
__setitem__
Faster/preferred setter for properties
watershed_workflow/river_tree.py:158
Method
__setitem__
Set an object
watershed_workflow/split_hucs.py:64
Method
__str__
(self)
watershed_workflow/stream_light.py:781
Method
_addStandardNames
Convert native column names to standard names. Parameters ---------- df : gpd.GeoDataFrame GeoDataFrame with nati
watershed_workflow/sources/manager_wbd.py:59
Method
_addStandardNames
Convert native column names to standard names. Parameters ---------- df : gpd.GeoDataFrame GeoDataFrame with nati
watershed_workflow/sources/manager_shapefile.py:175
Method
_addStandardNames
Convert native column names to standard names. Parameters ---------- df : gpd.GeoDataFrame GeoDataFrame with nati
watershed_workflow/sources/manager_nrcs.py:384
Method
_addStandardNames
Convert native Basin3D column names to standard names. Parameters ---------- df : gpd.GeoDataFrame GeoDat
watershed_workflow/sources/manager_basin3d.py:166
Method
_combine
(shp)
watershed_workflow/sources/manager_shapes.py:260
Function
_createColormap
Create colormap for specified indices. Parameters ---------- indices : List[int], optional List of color indices
watershed_workflow/colors.py:543
Method
_download
Validate the files exist, returning the filename.
watershed_workflow/sources/manager_pelletier_dtb.py:58
Function
_drop_z
(*args)
watershed_workflow/utils.py:953
Method
_fetchDataset
Fetch DayMet data for the request. Parameters ---------- request : Request DayMet-specific request with p
watershed_workflow/sources/manager_daymet.py:242
Method
_fetchDataset
Fetch the data.
watershed_workflow/sources/manager_pelletier_dtb.py:70
Method
_fetchDataset
Implementation of abstract method to fetch MODIS data. Parameters ---------- request : ManagerDataset.Request Req
watershed_workflow/sources/manager_modis_appeears.py:446
Method
_fetchDataset
Fetch the dataset for the request. Parameters ---------- request : ManagerDataset.Request The dataset req
watershed_workflow/sources/manager_soilgrids_2017.py:109
Method
_fetchDataset
Fetch NLCD data for the request. Parameters ---------- request : ManagerDataset.Request Dataset request w
watershed_workflow/sources/manager_nlcd.py:135
Method
_fetchDataset
Implementation of abstract method to get 3DEP data.
watershed_workflow/sources/manager_3dep.py:57
Method
_fetchDataset
Fetch the data.
watershed_workflow/sources/manager_raster.py:111
Function
_func
()
watershed_workflow/test/shapes.py:18
Method
_getShapes
Read the file and get all shapes. Returns ------- gpd.GeoDataFrame All shapes from the shapefile.
watershed_workflow/sources/manager_shapefile.py:91
← previous
next →
401–500 of 1,294, ranked by callers