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
Function
test_split
()
watershed_workflow/test/test_03_river_tree.py:164
Function
test_split_arclen
()
watershed_workflow/test/test_03_river_tree.py:186
Function
test_split_arclen_errors
()
watershed_workflow/test/test_03_river_tree.py:212
Function
test_split_arclen_on_coord
()
watershed_workflow/test/test_03_river_tree.py:199
Function
test_split_errors
()
watershed_workflow/test/test_03_river_tree.py:178
Function
test_standard_calendar_handling
Test that AORC properly handles standard calendar.
watershed_workflow/sources/test/test_manager_aorc.py:113
Function
test_standard_naming
Test that standard naming is applied
watershed_workflow/sources/test/test_manager_shapefile.py:132
Function
test_standard_naming_applied
Test that standard naming is properly applied
watershed_workflow/sources/test/test_manager_nhd.py:149
Function
test_standard_naming_applied
Test that standard naming is properly applied
watershed_workflow/sources/test/test_manager_wbd.py:85
Function
test_sza
(sl_data, relative_tolerance=1e-05, absolute_tolerance=1e-08, plot_scatter=False)
watershed_workflow/test/test_15_stream_light.py:127
Method
test_time_attributes_preserved_numpy_datetime64
Test that time attributes are preserved for numpy datetime64.
watershed_workflow/test/test_02b_data.py:184
Method
test_time_attributes_preserved_pandas
Test that time attributes (hour, minute, second) are preserved for pandas.
watershed_workflow/test/test_02b_data.py:152
Method
test_time_attributes_preserved_python_datetime
Test that time attributes are preserved for Python datetime.
watershed_workflow/test/test_02b_data.py:168
Function
test_total_trans_PAR_ppfd
(sl_data, relative_tolerance=1e-05, absolute_toler
watershed_workflow/test/test_15_stream_light.py:176
Function
test_tree_gen
()
watershed_workflow/test/test_03_river_tree.py:36
Function
test_triangulate_distance
(watershed_rivers1)
watershed_workflow/test/test_08_triangulate.py:49
Function
test_triangulate_internal_boundary
(watershed_rivers1)
watershed_workflow/test/test_08_triangulate.py:58
Function
test_triangulate_max_area
(watershed_rivers1)
watershed_workflow/test/test_08_triangulate.py:40
Function
test_triangulate_nofunc
(watershed_rivers1)
watershed_workflow/test/test_08_triangulate.py:32
Method
test_tuple_input_returns_list
Test tuple input returns list output.
watershed_workflow/test/test_02b_data.py:53
Function
test_two_coplanar_reaches
()
watershed_workflow/test/test_10_mesh_mixed.py:213
Function
test_two_kinked_reaches
()
watershed_workflow/test/test_10_mesh_mixed.py:251
Function
test_two_pit
()
watershed_workflow/test/test_11_condition.py:56
Function
test_two_pit_backwards
()
watershed_workflow/test/test_11_condition.py:62
Method
test_type_hints
Test that type hints work correctly.
watershed_workflow/test/test_02b_data.py:1750
Method
test_type_preservation
Test that output type matches input type.
watershed_workflow/test/test_02b_data.py:950
Method
test_type_preservation
Test that output type matches input type.
watershed_workflow/test/test_02b_data.py:1200
Function
test_uniform_bigger
()
watershed_workflow/test/test_06_resampling.py:31
Function
test_uniform_smaller
()
watershed_workflow/test/test_06_resampling.py:24
Function
test_valid_variables
Test that all expected variables are present.
watershed_workflow/sources/test/test_manager_soilgrids.py:38
Function
test_variable_categories
Test that variables are properly categorized.
watershed_workflow/sources/test/test_manager_soilgrids.py:74
Function
test_variable_filtering
Test that dataset returns only requested variables.
watershed_workflow/sources/test/test_manager_aorc.py:214
Function
test_vgm
()
watershed_workflow/test/test_12_soil_properties.py:6
Function
test_vgm2
()
watershed_workflow/test/test_12_soil_properties.py:14
Function
test_waitForDataset_pattern
Test the request/wait pattern.
watershed_workflow/sources/test/test_manager_3dep.py:152
Function
test_waitForDataset_pattern
Test the request/wait pattern.
watershed_workflow/sources/test/test_manager_aorc.py:279
Function
test_wbd_get
()
watershed_workflow/sources/test/test_manager_wbd.py:17
Function
test_wbd_get_geometry
()
watershed_workflow/sources/test/test_manager_wbd.py:32
Function
test_wbd_get_many
()
watershed_workflow/sources/test/test_manager_wbd.py:23
Function
test_wbd_waterdata_get
()
watershed_workflow/sources/test/test_manager_wbd.py:43
Function
test_wbd_waterdata_get_geometry
()
watershed_workflow/sources/test/test_manager_wbd.py:58
Function
test_wbd_waterdata_get_many
()
watershed_workflow/sources/test/test_manager_wbd.py:49
Function
test_withDepress
Note, this requires a visual check -- all streams should be lowered.
watershed_workflow/test/test_11_condition.py:344
Function
test_withDepressAndBanks
Note, this requires a visual check -- all streams should be lowered.
watershed_workflow/test/test_11_condition.py:372
Function
test_withHeadwaterDepress
Note, this requires a visual check -- all streams should be lowered.
watershed_workflow/test/test_11_condition.py:316
Method
test_with_invalid_geometries
Test handling of None geometries.
watershed_workflow/test/test_02b_data.py:2064
Method
test_with_nan_values
Test mode computation with NaN values.
watershed_workflow/test/test_02b_data.py:1371
Method
test_with_nan_values
Test handling of NaN values in column.
watershed_workflow/test/test_02b_data.py:2040
Function
test_write
()
watershed_workflow/test/test_09_mesh.py:54
Method
test_wrong_time_dim_name_raises_error
Test that wrong time_dim parameter raises ValueError.
watershed_workflow/test/test_02b_data.py:785
Function
test_year_validation
Test year validation for different locations.
watershed_workflow/sources/test/test_manager_nlcd.py:94
Function
three_boxes
()
watershed_workflow/test/shapes.py:110
Function
three_more_boxes
()
watershed_workflow/test/shapes.py:119
Function
to_cartopy
Convert workflow CRS to cartopy CRS. Parameters ---------- crs : CRS Workflow CRS to convert. Returns ------
watershed_workflow/crs.py:198
Method
to_crs
(self, crs : watershed_workflow.crs.CRS)
watershed_workflow/split_hucs.py:220
Function
to_dataframe
(shape_func)
watershed_workflow/test/shapes.py:17
Method
to_dataframe
(self)
watershed_workflow/split_hucs.py:261
Method
to_dual
Creates a 2D surface mesh from a primal 2D triangular surface mesh. Returns ------- dual_vertices : np.ndarray dual_c
watershed_workflow/mesh.py:681
Function
to_epsg
Convert CRS to EPSG code. Parameters ---------- crs : CRS Workflow CRS to convert. Returns ------- int
watershed_workflow/crs.py:157
Method
to_networkx
(self, hash)
watershed_workflow/tinytree.py:285
Function
to_rasterio
Convert workflow CRS to rasterio CRS. Parameters ---------- crs : CRS Workflow CRS to convert. Returns -----
watershed_workflow/crs.py:124
Method
to_type
(val, dtype)
watershed_workflow/sources/manager_nrcs.py:482
Function
to_wkt
Convert CRS to Well-Known Text (WKT) string. Parameters ---------- crs : CRS Workflow CRS to convert. Returns
watershed_workflow/crs.py:254
Function
transformRotation
(radians: float)
watershed_workflow/mesh.py:1735
Function
triangulate
Triangulates HUCs and rivers. Note, refinement of a given triangle is done if any of the provided criteria is met. Parameters ------
watershed_workflow/__init__.py:390
Function
triangulate
Triangulates HUCs and rivers. Note, refinement of a given triangle is done if any of the provided criteria is met. Parameters ------
watershed_workflow/triangulation.py:164
Function
triangulate_options
Adds triangulation options to the parser.
watershed_workflow/ui.py:159
Function
triangulation
Plots a triangulation. A wrapper for matplotlib's plot_trisurf() or tripcolor() Parameters ---------- points : np.ndarray Ar
watershed_workflow/plot.py:217
Function
two_boxes
()
watershed_workflow/test/shapes.py:102
Function
two_ys
()
watershed_workflow/test/shapes.py:41
Function
unzip
Unzip the corresponding, assumed to exist, zipped DEM into the DEM directory.
watershed_workflow/sources/utils.py:96
Method
update
(self, args)
watershed_workflow/tinytree.py:66
Method
used
(f)
watershed_workflow/mesh.py:1183
Function
valid_epsg
Note this validator does the work, no need for more
watershed_workflow/ui.py:83
Function
valid_hucstr
(hucstr)
watershed_workflow/ui.py:98
Function
valid_level
(x)
watershed_workflow/ui.py:122
Method
validate
Validate the side set against cell faces. Parameters ---------- cell_faces : List[List[int]] List of cell
watershed_workflow/mesh.py:84
Method
validate
Validate the labeled set. Parameters ---------- size : int Expected size for validation. is_tuple
watershed_workflow/mesh.py:112
Function
vtkfile
Type for vtk - checks that file exists.
watershed_workflow/ui.py:35
Function
water_cmap
Create a water-themed colormap. Returns ------- matplotlib.colors.LinearSegmentedColormap Water-themed colormap from white to dar
watershed_workflow/colors.py:220
Function
watershed_poly1
()
watershed_workflow/test/shapes.py:128
Function
watershed_poly2
Create watershed polygon, mocking NHDPLus dataset
watershed_workflow/test/shapes.py:147
Function
watershed_reaches1
()
watershed_workflow/test/shapes.py:137
Function
watershed_reaches2
Create a list of reaches, mocking NHDPLus dataset
watershed_workflow/test/shapes.py:156
Function
watershed_rivers1
(watershed_poly1, watershed_reaches1)
watershed_workflow/test/shapes.py:168
Function
watershed_rivers2
The goalpost river network with two rivers.
watershed_workflow/test/shapes.py:183
Function
write
(filename, points, cells, point_data=None, cell_data=None, f
watershed_workflow/vtk_io.py:385
Function
writeDatasetToHDF5
Write an xarray.Dataset and attributes to an HDF5 file. Parameters ---------- filename : str Name of the file to write.
watershed_workflow/io.py:16
Function
writeTimeseriesToHDF5
Write a time series and attributes to an HDF5 file. Parameters ---------- filename : str Name of the file to write. ts :
watershed_workflow/io.py:108
Method
writeVTK
Writes to VTK. Parameters ---------- filename : str Output VTK filename.
watershed_workflow/mesh.py:494
Method
writeVTK
Writes to VTK. Note, this just writes the topology/geometry information, for WEDGE type meshes (extruded triangles). No labeled sets
watershed_workflow/mesh.py:1108
Function
y
()
watershed_workflow/test/shapes.py:28
Function
y_with_extension
()
watershed_workflow/test/shapes.py:35
Function
y_with_junction
()
watershed_workflow/test/shapes.py:92
← previous
1,201–1,294 of 1,294, ranked by callers