Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup and ci features #1

Merged
merged 11 commits into from
Apr 24, 2023
Prev Previous commit
Next Next commit
test plot
  • Loading branch information
larsbuntemeyer committed Apr 21, 2023
commit 0b2a0823111f30e1d658cb9bf32e19dc015225ac
9 changes: 5 additions & 4 deletions appendix/A2_schemes_soil_moisture_runoff_drainage_series.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@

varlist=[ 'WSECHIRR','WSMXIRR', 'RUNOFFIR', 'DRAINIRR']
var_num_list=['701', '728', '713', '700']
for var, var_num in zip(varlist, var_num_list):
for var, var_num in zip(varlist, var_num_list):
print(f'analysis: {var}')
single_var_data_adapt=read_efiles(var, var_num, exp_number_irri_adapt, year, month)
single_var_data_prescribed=read_efiles(var, var_num, exp_number_irri_prescribed, year, month)
single_var_data_flextime=read_efiles(var, var_num, exp_number_irri_flextime, year, month)
Expand All @@ -70,7 +71,7 @@

# In[]: define plot directory

dir_out='/work/ch0636/g300099/SIMULATIONS/GAR11/plot/plot_for_paper1/'
dir_out='plots'

# In[]: plot DRAINIRR & RUNOFFIR

Expand Down Expand Up @@ -124,5 +125,5 @@
ax3.set_ylabel('drainage [m]')
ax3.set_xlabel(' ')
ax3.grid()
#plt.savefig(str(dir_out)+'/sup_schemes_runoff_drainage_wsechirr_June_new.png',dpi=300, bbox_inches='tight')
plt.show()
plt.savefig('plots/sup_schemes_runoff_drainage_wsechirr_June_new.png',dpi=300, bbox_inches='tight')
#plt.show()