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
short_time_range
Short time range for fast testing.
watershed_workflow/sources/test/test_manager_daymet.py:32
Function
short_time_range
Short time range for fast testing.
watershed_workflow/sources/test/test_manager_aorc.py:36
Function
shplys
Warp a collection of shapely geometry objects from old_crs to new_crs. Parameters ---------- shps : list of shapely.geometry.bas
watershed_workflow/warp.py:143
Method
siblings
Generator yielding all siblings of this node, not including this node.
watershed_workflow/tinytree.py:214
Method
simple_polygon_gdf
Create a simple GeoDataFrame with polygons.
watershed_workflow/test/test_02b_data.py:1800
Function
simplify
Simplify, IN PLACE, all reaches.
watershed_workflow/river_tree.py:1531
Function
simplify
Simplifies, in place, the HUC and river shapes to create constrained, discrete segments. Parameters ---------- hucs : SplitHUCs A
watershed_workflow/__init__.py:204
Function
simplify
Simplify, IN PLACE, all linestrings in the polygon representation.
watershed_workflow/split_hucs.py:382
Function
simplify_options
Adds a simplify tolerance option to the parser.
watershed_workflow/ui.py:133
Function
sl_data
()
watershed_workflow/test/test_15_stream_light.py:11
Function
small_aorc_geometry
Small test geometry in AORC native CRS (WGS84) for fast testing.
watershed_workflow/sources/test/test_manager_aorc.py:17
Function
small_daymet_geometry
Small test geometry in WGS84 for fast testing.
watershed_workflow/sources/test/test_manager_daymet.py:19
Function
small_test_crs
CRS for the small test geometry.
watershed_workflow/sources/test/test_manager_3dep.py:21
Function
small_test_geometry
Small test geometry in lat/lon for fast testing.
watershed_workflow/sources/test/test_manager_3dep.py:15
Function
small_test_geometry
Small test geometry in WGS84 (native CRS) for fast testing.
watershed_workflow/sources/test/test_manager_nlcd.py:15
Function
smooth2D
(data: xr.DataArray, dim1: Optional[str] = ..., dim2: Optional[str] = ...,
watershed_workflow/data.py:1785
Function
smoothSharpAngles
Smooth sharp angles across HUC and river linestrings.
watershed_workflow/angles.py:64
Function
smoothTimeSeries
(data: xr.DataArray, time_dim: str = ..., method: Literal['savgol',
watershed_workflow/data.py:1378
Function
snapHUCsJunctions
Snaps the junctions of HUC linestrings to endpoints of rivers. Modifies HUCs geometry. Parameters ---------- hucs : SplitHUCs
watershed_workflow/hydrography.py:446
Function
snapReachEndpoints
Snap river endpoints to HUC linestrings and insert that point into the boundary. Note this is O(n^2), and could be made more efficient. Modif
watershed_workflow/hydrography.py:534
Function
snapWaterbodies
Snap waterbodies to HUCs and river linestrings. Attempts to make waterbodies that intersect or nearly intersect hucs intersect discretely, in
watershed_workflow/hydrography.py:265
Function
soilgrids
()
watershed_workflow/sources/test/test_manager_soilgrids.py:11
Function
soilgrids_us
()
watershed_workflow/sources/test/test_manager_soilgrids.py:16
Method
spines
Iterate over spines.
watershed_workflow/split_hucs.py:353
Method
summarizeExtrusion
Summarizes extruded data by printing info to log file. This is useful in rapidly debugging and understanding the layering before
watershed_workflow/mesh.py:1309
Function
tessalateRiverAligned
Tessalate HUCs using river-aligned quads along the corridor and triangles away from it. Parameters ---------- hucs : SplitHUCs The
watershed_workflow/__init__.py:568
Function
testHUCIsBad
()
watershed_workflow/test/test_07_angles.py:289
Function
testHUCIsBad_NoOp
(two_boxes)
watershed_workflow/test/test_07_angles.py:276
Function
testHUCOutletIsBad
()
watershed_workflow/test/test_07_angles.py:253
Function
testInternalAngleEndpointBad
Tests len > 3, one bad angle.
watershed_workflow/test/test_07_angles.py:118
Function
testInternalAngleEndpointTwoBad
Tests len > 3, two bad angles.
watershed_workflow/test/test_07_angles.py:135
Function
testInternalAngleLen3Null
Tests that same ls is returned if no bad angles
watershed_workflow/test/test_07_angles.py:52
Function
testInternalAngleLen3Recenter
Tests length 3 -- center point is moved
watershed_workflow/test/test_07_angles.py:76
Function
testInternalAngleLen3RemovePoint
Tests length 3 -- center point is removed
watershed_workflow/test/test_07_angles.py:62
Function
testInternalAngleNull
Tests len > 3, all are fine.
watershed_workflow/test/test_07_angles.py:95
Function
testInternalAngleOneBad
Tests len > 3, one bad angle.
watershed_workflow/test/test_07_angles.py:103
Function
testJunctionAngles
()
watershed_workflow/test/test_07_angles.py:204
Function
testJunctionIsBadAngle
()
watershed_workflow/test/test_07_angles.py:226
Function
testL
Deal with a kink in an internal angle.
watershed_workflow/test/test_07_angles.py:192
Function
testThreeSuccessiveBadAngles
()
watershed_workflow/test/test_07_angles.py:173
Function
testTwoSuccessiveBadAngles
()
watershed_workflow/test/test_07_angles.py:152
Function
test_2D
Create a 2D mesh, extrude, write.
watershed_workflow/test/test_09_mesh.py:20
Method
test_3d_smoothing
Test smoothing 3D data (smooth each time slice).
watershed_workflow/test/test_02b_data.py:1618
Method
test_5_day_interval
Test 5-day interval interpolation.
watershed_workflow/test/test_02b_data.py:917
Method
test_5day_interval
Test with 5-day interval data.
watershed_workflow/test/test_02b_data.py:1070
Function
test_alaska
()
watershed_workflow/test/test_01_crs.py:49
Method
test_all_nan_values
Test mode computation when all values are NaN.
watershed_workflow/test/test_02b_data.py:1382
Method
test_all_types_support_both_methods
Test that all data types support both smoothing methods.
watershed_workflow/test/test_02b_data.py:1239
Function
test_angle
()
watershed_workflow/test/test_02_utils.py:341
Function
test_angle2
()
watershed_workflow/test/test_02_utils.py:385
Method
test_anisotropic_smoothing
Test anisotropic smoothing (different sigma/size for each dimension).
watershed_workflow/test/test_02b_data.py:1671
Function
test_async_interface
Test the async interface methods.
watershed_workflow/sources/test/test_manager_nlcd.py:190
Method
test_auto_detect_latlon_dims
Test automatic detection of lat, lon dimensions.
watershed_workflow/test/test_02b_data.py:1595
Method
test_auto_detect_xy_dims
Test automatic detection of x, y dimensions.
watershed_workflow/test/test_02b_data.py:1588
Method
test_averaging_accuracy
Test that averaging is mathematically correct.
watershed_workflow/test/test_02b_data.py:1006
Function
test_bad_angle
()
watershed_workflow/test/test_07_angles.py:41
Function
test_bad_outlet_pit
()
watershed_workflow/test/test_11_condition.py:74
Method
test_basic_rasterization
Test basic rasterization of polygons.
watershed_workflow/test/test_02b_data.py:1857
Function
test_bigger
()
watershed_workflow/test/test_06_resampling.py:52
Function
test_catchments_functionality
Test that catchments are properly fetched when enabled
watershed_workflow/sources/test/test_manager_nhd.py:132
Method
test_cftime_objects_have_noleap_calendar
Test that returned time objects are cftime with noleap calendar.
watershed_workflow/test/test_02b_data.py:411
Method
test_cftime_objects_have_noleap_calendar
Test that returned time objects are cftime with noleap calendar.
watershed_workflow/test/test_02b_data.py:538
Method
test_cftime_objects_have_noleap_calendar
Test that returned time objects are cftime with noleap calendar.
watershed_workflow/test/test_02b_data.py:759
Method
test_cftime_with_leap_day_raises_error
Test that cftime objects with leap day raise ValueError.
watershed_workflow/test/test_02b_data.py:91
Function
test_close
()
watershed_workflow/test/test_02_utils.py:9
Function
test_cluster
()
watershed_workflow/test/test_12_soil_properties.py:34
Function
test_complex_polygon_shapes
Test with more complex polygon shapes.
watershed_workflow/test/test_02b_data.py:2086
Method
test_consistency_across_input_types
Test that conversion produces consistent results across input types.
watershed_workflow/test/test_02b_data.py:204
Function
test_construct_request_mocked
Test _constructRequest with mocked API call.
watershed_workflow/sources/test/test_manager_appeears.py:215
Function
test_constructor
Test basic constructor and properties.
watershed_workflow/sources/test/test_manager_basin3d.py:29
Function
test_constructor
Test basic constructor and properties.
watershed_workflow/sources/test/test_manager_soilgrids.py:20
Function
test_constructor_basic
Test basic constructor
watershed_workflow/sources/test/test_manager_shapefile.py:51
Function
test_constructor_invalid_data_source
Test constructor with no valid plugins.
watershed_workflow/sources/test/test_manager_basin3d.py:51
Function
test_constructor_invalid_feature_type
Test constructor with invalid feature type.
watershed_workflow/sources/test/test_manager_basin3d.py:45
Function
test_constructor_multi_features
Test constructor with multiple feature types.
watershed_workflow/sources/test/test_manager_basin3d.py:39
Function
test_constructor_no_catchments
Test constructor with catchments disabled
watershed_workflow/sources/test/test_manager_nhd.py:39
Function
test_constructor_properties
Test that constructor sets properties correctly
watershed_workflow/sources/test/test_manager_nhd.py:28
Function
test_constructor_properties
Test that constructor sets properties correctly
watershed_workflow/sources/test/test_manager_wbd.py:68
Function
test_constructor_us_variant
Test US variant constructor.
watershed_workflow/sources/test/test_manager_soilgrids.py:31
Function
test_constructor_waterdata_properties
Test that constructor with WaterData protocol sets properties correctly
watershed_workflow/sources/test/test_manager_wbd.py:77
Function
test_constructor_with_id_field
Test constructor with ID field specified
watershed_workflow/sources/test/test_manager_shapefile.py:60
Function
test_contains
()
watershed_workflow/test/test_02_utils.py:46
Function
test_coordinate_conversion_from_km_to_meters
Test that coordinates are properly converted from km to meters.
watershed_workflow/sources/test/test_manager_daymet.py:127
Function
test_coordinate_system
Test that coordinates are in degrees (lat/lon), not meters.
watershed_workflow/sources/test/test_manager_aorc.py:153
Function
test_coweeta_basin_integration
Test ManagerRaster with Coweeta basin geometry.
watershed_workflow/sources/test/test_manager_raster.py:241
Function
test_crosswalk
()
watershed_workflow/test/test_13_land_cover_properties.py:10
Function
test_crs
CRS for test geometry (UTM Zone 17N)
watershed_workflow/sources/test/test_manager_shapefile.py:46
Function
test_crs_handling
Test that CRS is properly handled
watershed_workflow/sources/test/test_manager_shapefile.py:148
Function
test_crs_handling
Test that CRS is properly handled
watershed_workflow/sources/test/test_manager_nhd.py:165
Method
test_custom_bounds
Test with custom bounds.
watershed_workflow/test/test_02b_data.py:1963
Method
test_custom_dims
Test with custom dimension names.
watershed_workflow/test/test_02b_data.py:1602
Method
test_custom_nodata
Test custom nodata values.
watershed_workflow/test/test_02b_data.py:1947
Method
test_custom_time_dimension
Test custom time dimension name.
watershed_workflow/test/test_02b_data.py:925
Method
test_custom_time_dimension
Test mode computation with custom time dimension name.
watershed_workflow/test/test_02b_data.py:1392
Method
test_custom_time_dimension_name
Test using a custom time dimension name.
watershed_workflow/test/test_02b_data.py:641
Function
test_cut_first_point
()
watershed_workflow/test/test_02_utils.py:126
Function
test_cut_last_point
()
watershed_workflow/test/test_02_utils.py:150
Function
test_cut_point_not_there
()
watershed_workflow/test/test_02_utils.py:70
Function
test_cut_point_there
()
watershed_workflow/test/test_02_utils.py:83
Function
test_cut_two_crossings
()
watershed_workflow/test/test_02_utils.py:169
← previous
next →
801–900 of 1,294, ranked by callers