Skip to content
Snippets Groups Projects
Commit bea7a921 authored by Lene Wasskog's avatar Lene Wasskog
Browse files

fix: Fix path to tmp directory

parent b6a2ff77
No related branches found
No related tags found
No related merge requests found
......@@ -470,7 +470,7 @@ def create_TSSH_VAS(time):
f'cdo -O -aexpr,"TSSH=((HH1==1)?HH2*(TSSHLastHour+TM):HH2*0.75*TSSHLastHour);SPH=((TSSH>87)?1:0);VAS=((VASLastHour*0.95*(1-((WVD-220)/6000))+SPH)/(1+0.3*RR))" {tmpfile_path}this_hour.nc {tmpfile_path}this_hour_tmp.nc',
shell=True,
)
os.rename(src="tmp/this_hour_tmp.nc", dst="tmp/this_hour.nc")
os.rename(src=f"{tmpfile_path}this_hour_tmp.nc", dst=f"{tmpfile_path}this_hour.nc")
def create_HH1_HH2(time):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment