Commit 114df9f9 authored by Laura LINDEPERG's avatar Laura LINDEPERG
Browse files

comment geology part

parent 5c62f9e8
......@@ -35,7 +35,7 @@ shp_watersheds = gpd.read_file(shp_watersheds_path)
# List of the stations'codes
watershed_code = shp_watersheds.loc[:,'Code']
# Get a sample of them for test
code_for_test = watershed_code.loc[509:512]
code_for_test = watershed_code.loc[0:3]
# code_for_test = ['V1015810']
# *************************** Extract watersheds' properties ************************************
......@@ -58,8 +58,8 @@ for i in code_for_test:
watershed_i.hydro_climatic_fluxes.safran_timeseries = safran_timeseries_i
watershed_i.extract_hydrological_signatures()
watershed_i.extract_geologic_properties_from_filename(BDLisa_filepath+i+'_BDLisa.shp')
watershed_i.geologic_properties.extract_average_age_geology(BRGM_filepath+i+'_BRGM.shp')
# watershed_i.extract_geologic_properties_from_filename(BDLisa_filepath+i+'_BDLisa.shp')
# watershed_i.geologic_properties.extract_average_age_geology(BRGM_filepath+i+'_BRGM.shp')
# Create a dictionnary and fill the dataframe
watershed_dict = watershed_i.to_dict()
......@@ -69,7 +69,7 @@ for i in code_for_test:
# And save it
# studied_watersheds.to_csv('510_first_stations_df.csv', index=False)
# studied_watersheds.to_csv('613_stations_hydrosig_df.csv', index=False)
......@@ -81,14 +81,14 @@ for i in code_for_test:
# ## Few plots for test
# df_some_stations_path = 'few_stations_df.csv'
# df_some_stations_path = '510_first_stations_df.csv'
# df_some_stations = pd.read_csv(df_some_stations_path)
# # bf indices
# sns.relplot(x="q_mean", y="bfi", hue="maingeol_description", data=df_some_stations)
# sns.relplot(x="bfi", y="bf_magni", hue="maingeol_description", data=df_some_stations)
# # recession indices
# # recession indices
# sns.relplot(x="q_mean", y="tau_1", hue="maingeol_description", data=df_some_stations)
# sns.relplot(x="q_mean", y="tau_2", hue="maingeol_description", data=df_some_stations)
# sns.relplot(x="tau_1", y="tau_2", hue="maingeol_description", data=df_some_stations)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment