saber.assign
assign_gauged(df)
Assigns basins a gauge for correction which contain a gauge
Parameters:
Name | Type | Description | Default |
---|---|---|---|
df |
pd.DataFrame
|
the assignments table dataframe |
required |
Returns:
Type | Description |
---|---|
pd.DataFrame
|
Copy of df1 with assignments made |
Source code in saber/assign.py
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
|
mp_assign(df=None)
Assigns basins a gauge for correction which contain a gauge
Parameters:
Name | Type | Description | Default |
---|---|---|---|
df |
pd.DataFrame
|
the assignments table dataframe |
None
|
Returns:
Type | Description |
---|---|
pd.DataFrame
|
Copy of df1 with assignments made |
Source code in saber/assign.py
26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
|
mp_assign_ungauged(df)
Parameters:
Name | Type | Description | Default |
---|---|---|---|
df |
pd.DataFrame
|
the assignments table dataframe with the clustering labels already applied |
required |
Returns:
Type | Description |
---|---|
pd.DataFrame
|
pd.DataFrame |
Source code in saber/assign.py
60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 |
|