MCPcopy Create free account

hub / github.com/environmental-modeling-workflows/watershed-workflow / functions

Functions1,294 in github.com/environmental-modeling-workflows/watershed-workflow

Functiontest_nrcs_constructor
Test NRCS constructor properties
watershed_workflow/sources/test/test_manager_nrcs.py:32
Functiontest_nrcs_geodataframe_input
Test getShapesByGeometry with GeoDataFrame input
watershed_workflow/sources/test/test_manager_nrcs.py:45
Functiontest_nrcs_getShapesByID_not_supported
Test that getShapesByID raises NotImplementedError
watershed_workflow/sources/test/test_manager_nrcs.py:62
Functiontest_null
()
watershed_workflow/test/test_11_condition.py:44
Methodtest_numpy_datetime64_array_input_output
Test numpy array input returns numpy array output.
watershed_workflow/test/test_02b_data.py:19
Methodtest_numpy_datetime64_different_precisions
Test numpy datetime64 with different time precisions.
watershed_workflow/test/test_02b_data.py:251
Methodtest_numpy_datetime64_microsecond_precision
Test that microsecond precision is preserved.
watershed_workflow/test/test_02b_data.py:197
Methodtest_numpy_datetime64_with_leap_day_raises_error
Test that numpy datetime64 with leap day raises ValueError.
watershed_workflow/test/test_02b_data.py:61
Functiontest_one_pit
()
watershed_workflow/test/test_11_condition.py:50
Methodtest_overlapping_rasterization
Test rasterization of overlapping polygons.
watershed_workflow/test/test_02b_data.py:1875
Methodtest_overloaded_dataarray_ignores_variables
Test that DataArray ignores variables parameter.
watershed_workflow/test/test_02b_data.py:1705
Methodtest_overloaded_function_dataarray
Test overloaded smooth2D with DataArray.
watershed_workflow/test/test_02b_data.py:1691
Methodtest_overloaded_function_dataset
Test overloaded smooth2D with Dataset.
watershed_workflow/test/test_02b_data.py:1698
Methodtest_pandas_series_input_output
Test pandas Series input returns pandas Series output.
watershed_workflow/test/test_02b_data.py:36
Methodtest_pandas_timestamp_with_leap_day_raises_error
Test that pandas Timestamp with leap day raises ValueError.
watershed_workflow/test/test_02b_data.py:69
Methodtest_parameter_propagation
Test that kwargs are properly propagated.
watershed_workflow/test/test_02b_data.py:1211
Functiontest_parse_variable
Test variable name parsing.
watershed_workflow/sources/test/test_manager_soilgrids.py:51
Functiontest_plugin_registration
Test that Basin3D synthesizer was registered correctly.
watershed_workflow/sources/test/test_manager_basin3d.py:57
Methodtest_preserve_attributes
Test that attributes are preserved.
watershed_workflow/test/test_02b_data.py:1411
Methodtest_preserve_coordinates
Test that all coordinates are preserved.
watershed_workflow/test/test_02b_data.py:1715
Methodtest_preserve_name
Test that name is modified appropriately.
watershed_workflow/test/test_02b_data.py:1427
Methodtest_preserve_non_time_coordinates
Test that non-time coordinates are preserved.
watershed_workflow/test/test_02b_data.py:1437
Methodtest_preserves_attributes
Test that DataArray attributes are preserved.
watershed_workflow/test/test_02b_data.py:490
Methodtest_preserves_attributes
Test that Dataset and variable attributes are preserved.
watershed_workflow/test/test_02b_data.py:688
Methodtest_preserves_data_array_name
Test that DataArray name is preserved.
watershed_workflow/test/test_02b_data.py:592
Methodtest_preserves_dataframe_copy
Test that original DataFrame is not modified.
watershed_workflow/test/test_02b_data.py:397
Methodtest_preserves_encoding
Test that variable encoding is preserved.
watershed_workflow/test/test_02b_data.py:816
Methodtest_preserves_non_leap_year_dec_31
Test that Dec 31 in non-leap years is preserved.
watershed_workflow/test/test_02b_data.py:290
Methodtest_preserves_non_leap_year_dec_31
Test that Dec 31 in non-leap years is preserved.
watershed_workflow/test/test_02b_data.py:457
Methodtest_preserves_other_columns
Test that other DataFrame columns are preserved correctly.
watershed_workflow/test/test_02b_data.py:327
Methodtest_preserves_rasterio_attributes
Test that rasterio-specific attributes (nodata, crs) are preserved.
watershed_workflow/test/test_02b_data.py:507
Methodtest_preserves_rasterio_attributes
Test that rasterio-specific attributes are preserved.
watershed_workflow/test/test_02b_data.py:718
Functiontest_project
()
watershed_workflow/test/test_02_utils.py:367
Functiontest_project2
()
watershed_workflow/test/test_02_utils.py:411
Functiontest_projectOne
()
watershed_workflow/test/test_10_mesh_mixed.py:44
Functiontest_projectTwo
()
watershed_workflow/test/test_10_mesh_mixed.py:63
Functiontest_projectTwo_jagged
()
watershed_workflow/test/test_10_mesh_mixed.py:71
Functiontest_projectTwo_mixed
()
watershed_workflow/test/test_10_mesh_mixed.py:67
Functiontest_projectTwo_parallel
()
watershed_workflow/test/test_10_mesh_mixed.py:54
Functiontest_projectTwo_parallel_mixedwidth
()
watershed_workflow/test/test_10_mesh_mixed.py:58
Functiontest_prune
()
watershed_workflow/test/test_03_river_tree.py:223
Methodtest_python_datetime_with_leap_day_raises_error
Test that Python datetime with leap day raises ValueError.
watershed_workflow/test/test_02b_data.py:80
Functiontest_raises
()
watershed_workflow/test/test_02_utils.py:190
Functiontest_read_dataset_multiple_variables
Test reading dataset with multiple variables from existing files.
watershed_workflow/sources/test/test_manager_appeears.py:90
Functiontest_read_existing_lai_file
Test reading existing LAI file.
watershed_workflow/sources/test/test_manager_appeears.py:65
Functiontest_read_existing_lulc_file
Test reading existing LULC file.
watershed_workflow/sources/test/test_manager_appeears.py:79
Functiontest_remove_divergences
(braided_stream)
watershed_workflow/test/test_03_river_tree.py:243
Methodtest_removes_leap_day_366
Test that day 366 in leap years is removed.
watershed_workflow/test/test_02b_data.py:270
Methodtest_removes_leap_day_366
Test that day 366 in leap years is removed from DataArray.
watershed_workflow/test/test_02b_data.py:433
Methodtest_removes_leap_day_366
Test that day 366 in leap years is removed from Dataset.
watershed_workflow/test/test_02b_data.py:611
Functiontest_requestDataset_pattern
Test the non-blocking request/wait pattern.
watershed_workflow/sources/test/test_manager_3dep.py:132
Functiontest_requestDataset_pattern
Test the non-blocking request/fetch pattern.
watershed_workflow/sources/test/test_manager_aorc.py:258
Functiontest_request_dataset_async_interface
Test the async interface methods.
watershed_workflow/sources/test/test_manager_raster.py:66
Functiontest_request_fetch_pattern
Test non-blocking request/fetch pattern.
watershed_workflow/sources/test/test_manager_appeears.py:123
Functiontest_resampling
(watershed_poly2, watershed_reaches2)
watershed_workflow/test/test_06_resampling.py:133
Methodtest_resets_index
Test that DataFrame index is reset after filtering.
watershed_workflow/test/test_02b_data.py:342
Methodtest_selective_interpolation
Test interpolating only specific variables.
watershed_workflow/test/test_02b_data.py:936
Methodtest_simple_float_mode
Test mode computation with float data.
watershed_workflow/test/test_02b_data.py:1320
Methodtest_simple_integer_mode
Test mode computation with simple integer data.
watershed_workflow/test/test_02b_data.py:1308
Functiontest_simplify
Does simplify ever move the end points of a linestring? YAY!
watershed_workflow/test/test_00_shapely.py:30
Functiontest_single_reach_diag
()
watershed_workflow/test/test_10_mesh_mixed.py:155
Functiontest_single_reach_horiz
()
watershed_workflow/test/test_10_mesh_mixed.py:127
Functiontest_single_reach_jagged
()
watershed_workflow/test/test_10_mesh_mixed.py:184
Functiontest_single_reach_vert
()
watershed_workflow/test/test_10_mesh_mixed.py:100
Functiontest_single_variable_case_returns_raster_variable
Test that single-variable rasters return 'raster' variable name.
watershed_workflow/sources/test/test_manager_raster.py:198
Functiontest_smaller
()
watershed_workflow/test/test_06_resampling.py:46
Functiontest_smoothProfile
Tests smoothing of reach elevations Note smoothing is very aggresive, at least at these length scales. May need to change this or provide opt
watershed_workflow/test/test_11_condition.py:92
Functiontest_smoothWithLowerProfile
Tests smooth with the lower=True option, which prefers to not let smoothing raise up the elevation profile due to bad individual high elevatio
watershed_workflow/test/test_11_condition.py:123
Methodtest_smooth_dataarray_box
Test box smoothing on DataArray.
watershed_workflow/test/test_02b_data.py:1581
Methodtest_smooth_dataarray_gaussian
Test Gaussian smoothing on DataArray.
watershed_workflow/test/test_02b_data.py:1559
Methodtest_smooth_dataarray_uniform
Test uniform smoothing on DataArray.
watershed_workflow/test/test_02b_data.py:1574
Methodtest_smooth_dataset
Test smoothing Dataset.
watershed_workflow/test/test_02b_data.py:1630
Methodtest_smooth_dataset_specific_variables
Test smoothing specific variables in Dataset.
watershed_workflow/test/test_02b_data.py:1643
Functiontest_snap
How does snap work? IT DOESN'T merge points
watershed_workflow/test/test_00_shapely.py:53
Functiontest_snap0
null-op, all data are already correct
watershed_workflow/test/test_05_hydrography.py:73
Functiontest_snap0a
add reach endpoint to huc
watershed_workflow/test/test_05_hydrography.py:83
Functiontest_snap0b
snap reach endpoint to huc
watershed_workflow/test/test_05_hydrography.py:95
Functiontest_snap0c
snap reach endpoint to huc (from right)
watershed_workflow/test/test_05_hydrography.py:105
Functiontest_snap0d
cut, not snap
watershed_workflow/test/test_05_hydrography.py:115
Functiontest_snap0e
snap a river endpoint onto a huc, near point on river, point on huc
watershed_workflow/test/test_05_hydrography.py:125
Functiontest_snap0h
cut a river at huc exterior boundary, point already exists (no duplicate point)
watershed_workflow/test/test_05_hydrography.py:135
Functiontest_snap0j
cut a river at huc exterior boundary with an extra external point
watershed_workflow/test/test_05_hydrography.py:145
Functiontest_snap1a
generic intersection with no movement only additions
watershed_workflow/test/test_05_hydrography.py:194
Functiontest_snap1b
generic intersection with nearby point
watershed_workflow/test/test_05_hydrography.py:201
Functiontest_snap1c
generic intersection with nearby reach endpoints
watershed_workflow/test/test_05_hydrography.py:208
Functiontest_snap1d
generic intersection with nearby point to the right
watershed_workflow/test/test_05_hydrography.py:217
Functiontest_snap1e
generic intersection with nearby reach endpoints to the right
watershed_workflow/test/test_05_hydrography.py:224
Functiontest_snap1f
an extra reach is added to the right because the upstream reach gets cut and the downstream portion is above threshold
watershed_workflow/test/test_05_hydrography.py:233
Functiontest_snap2
How does snap work? will it snap to a midpoint of the linestring? NO
watershed_workflow/test/test_00_shapely.py:67
Functiontest_snap2a
just need to insert the point on the box
watershed_workflow/test/test_05_hydrography.py:270
Functiontest_snap2b
insert point on box, move reach endpoints from right side
watershed_workflow/test/test_05_hydrography.py:280
Functiontest_snap2c
insert point on box, move reach endpoints from left side
watershed_workflow/test/test_05_hydrography.py:290
Functiontest_snap2d
insert point on box, move reach endpoints from right, delete extra points
watershed_workflow/test/test_05_hydrography.py:300
Functiontest_snap2e
insert point on box, move reach endpoints from leftside, delete extra points
watershed_workflow/test/test_05_hydrography.py:310
Functiontest_snap3a
add point on interior boundary
watershed_workflow/test/test_05_hydrography.py:353
Functiontest_snap6
three boxes, intersection at the junction, null op
watershed_workflow/test/test_05_hydrography.py:439
Functiontest_snap6a
three boxes, intersection at the junction, move box triple point to intersection
watershed_workflow/test/test_05_hydrography.py:460
Functiontest_solar_altitude
(sl_data, relative_tolerance=1e-05, absolute_tolerance=1e-08,
watershed_workflow/test/test_15_stream_light.py:102
Functiontest_solar_azimuth
(sl_data, relative_tolerance=1e-05, absolute_tolerance=1e-08,
watershed_workflow/test/test_15_stream_light.py:150
Functiontest_solar_dec
(sl_data, relative_tolerance=1e-05, absolute_tolerance=1e-08, plot_scatter=False)
watershed_workflow/test/test_15_stream_light.py:80
← previousnext →1,101–1,200 of 1,294, ranked by callers