You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HydroVIS has a couple pieces of code where it drops records while loading loading library and sites data. This logic, if even valid anymore, should be in FIM code not HV. There are also places where it changes the status messages.
Sea Levels
for sea_level_site in ['qutg1', 'augg1', 'baxg1', 'lamf1', 'adlg1', 'hrag1', 'stng1']:
if "sites" in file_handle:
df.loc[df.ahps_lid==sea_level_site, 'mapped'] = 'no'
df.loc[df.ahps_lid==sea_level_site, 'status'] = 'Stage thresholds seem to be based on sea level and not channel thalweg'
else:
df.loc[df.ahps_lid==sea_level_site, 'viz'] = 'no'
df = df[df['viz']=='yes'] # Subset df to only sites desired for mapping
(Notice the status change)
Compare to a HV list named "aphs_restricted_sites" db. A separate card will be issued for that.
3). HV has a column named "viz"
Weird though: HV has this for Flow only.. hummm
Check to see if this is still needed, if the sites list is correct and add this logic to CatFIM code as/if applicable. Note: We have alot more ahps stage sites now so the list, if even needed, is likely out of data.
The text was updated successfully, but these errors were encountered:
With the addition of the WIP stage_based_ahps_restricted_sites.csv, it already had entries for the sites listed in the sea test above. So the sea level test need not be added directly in code.
HydroVIS has a couple pieces of code where it drops records while loading loading library and sites data. This logic, if even valid anymore, should be in FIM code not HV. There are also places where it changes the status messages.
Sea Levels
for sea_level_site in ['qutg1', 'augg1', 'baxg1', 'lamf1', 'adlg1', 'hrag1', 'stng1']:
if "sites" in file_handle:
df.loc[df.ahps_lid==sea_level_site, 'mapped'] = 'no'
df.loc[df.ahps_lid==sea_level_site, 'status'] = 'Stage thresholds seem to be based on sea level and not channel thalweg'
else:
df.loc[df.ahps_lid==sea_level_site, 'viz'] = 'no'
df = df[df['viz']=='yes'] # Subset df to only sites desired for mapping
(Notice the status change)
3). HV has a column named "viz"
Weird though: HV has this for Flow only.. hummm
The text was updated successfully, but these errors were encountered: