diff --git a/couplage/code python/CAR2MAR_co2_tprev.py b/couplage/code python/CAR2MAR_co2_tprev.py index 48b0265944cde032358e111ab5d5b36cee263413..d51a7abc61d854a64dbcab0ccf1ea5378c418bd2 100644 --- a/couplage/code python/CAR2MAR_co2_tprev.py +++ b/couplage/code python/CAR2MAR_co2_tprev.py @@ -53,7 +53,7 @@ def open_mar(path): def main_tprev(ys): # Copy the file - shutil.copy('./temyyyy.dat.txt', f'./tem{ys}.dat') + shutil.copy('./temyyyy.dat', f'./tem{ys}.dat') """##############################################################################################################""" diff --git a/couplage/code python/create_necessary_files.py b/couplage/code python/create_necessary_files.py index 9da36fcdb1da08e26b721edb1ecdc40a2c41f195..e7f07c845dcea3ce8a5eb408b13f6571c139d431 100644 --- a/couplage/code python/create_necessary_files.py +++ b/couplage/code python/create_necessary_files.py @@ -55,13 +55,13 @@ def ti(): if __name__ == '__main__': t0=ti() - path_to_MAR_ICE = "E:/MAR_data_raw_BE/MERRA/" + path_to_MAR_ICE = "D:/MAR_data_raw_BE/MERRA/" - path_to_sowing = "E:/MAR_data_raw_BE/MERRA/" - path_to_fire = "E:/Car_files/data.ascii" #data.ascii input file + path_to_sowing = "D:/MAR_data_raw_BE/MERRA/" + path_to_fire = "D:/Car_files/data.ascii" #data.ascii input file path_to_manage = "./man/" #manageYYYY.dat file output - do_sowing = 1 + do_sowing = 0 do_fire = 1 do_manage = 1 @@ -70,7 +70,7 @@ if __name__ == '__main__': manage_type = [2,1,365,0,0] #full cut # manage_type = [1,1,150,50,50] #user defined ys = 2009 #starting year -1 - ye = 2020 #end year + ye = 2024 #end year print("Creating the climatology files") main_climatology(path_to_MAR_ICE) @@ -84,14 +84,14 @@ if __name__ == '__main__': print("Creating the Temprev") main_tprev(ys) - print("Creating the sowing files") - if do_sowing : main_sowing(path_to_sowing, path_to_MAR_ICE) + # print("Creating the sowing files") + # if do_sowing : main_sowing(path_to_sowing, path_to_MAR_ICE) print("Creating the fire files") if do_fire : main_fire(path_to_fire, path_to_MAR_ICE) print("Creating the manage files") - if do_manage : main_manage(path_to_manage, path_to_MAR_ICE, manage_type,ys,ye) + if do_manage : main_manag(path_to_manage, path_to_MAR_ICE, manage_type,ys,ye)