=============== Log messages of changesets concerning the Planetary Evolution Model (PEM) =============== =============== Since 01/07/2023 == 02/07/2023 == RV Small fix to adapt pem to the r2981 write_profile modification by evos. == 11/07/2023 == LL Update CO2 glacier flow law after discussions with I.Smith. The model used before from Nye et al. was false as it overestimates CO2 ice thickness required to start the flow. The algorithm now used an easier approach with outputs from Smith et al., JGR Planets 2022. See the full description in the note I'll send by mail. == 17/07/2023 == LL *Implementation of the H2O glacier flow laws *The algorithm for glacier flow is now more generic and not specific for co2 ice *Principle: if ice thickness > ice mass, computed from models (cf note attached in the wiki), then the excess of ice is transfered == 18/07/2023 == LL - Fix some bug in water conservations (transfer from watercap to waterreservoir was wrong) - Add the H2O glaciers in the main program. - Add the distinction between co2 frost (qsurf) and perenial co2 ice. Will be developed in the Mars PCM in a future commit - Thickness thresolhd to pass from frost to glaciers is now not harcoded but a constant fixed in the mars_pem_constants == 20/07/2023 == LL - Fix a bug in conf_pem ("Flux_geo" was expected in the .def while it should be 'fluxgeo', corrected) - Fix a bug in glaciers modules (the length for 'name_ice' was too large) - Fix a bug when writing tsoil in the PEM (ngrid x nsoil_PEM x nslope was given, while it was expecting a ngrid x nsoil_GCM x nslope) == 28/07/2023 == LL - Following -r 2963, adapt the PEM so that the density of water wapor is correctly computed - I've also modified the way Tsoil is initialized, but it might be changed in the future == 31/07/2023 == LL Following last commit, r (=R/mugaz) wasn't initialize apparently. It is not fixed. Note that R is hard coded == 01/08/2023 == JBC Rework and correction of computation of the maximum number of iterations for PEM according to orbital parameters. Complete rewriting (much simpler) of script "run_pem1d_1" in deftank/pem/ to launch chained simulations of 1D PCM/PEM. To be adapted to 3D in the future. Addition of a bash script "modify_startfi.sh" to modify orbital parameters in "startfi.nc". It is needed to initialize the PCM/PEM simulation with right orbital parameters according to the year in Laskar data. == 09/08/2023 == JBC Improvements/addition of scripts in deftank/pem to run the PEM 1D model according to Laskar orbital parameters. == 14/08/2023 == JBC Big cleaning of main program pem.F90 (indentation, declarations, comments, simplification of conditions/loops, etc). == 24/08/2023 == LL - Following -r3028, added the declaration of daysec and dtphys that has been removed during the cleaning - Add the corrective factor /cos(slope) when compute H2O ice tendencies to ensure mass conservation == 24/08/2023 == LL Add the water vapor exchanges between the subsurface ice and the atmosphere in the mass balance of H20 over the planet. == 24/08/2023 == LL Fix bug with albedo (wrong albedo for surface where co2 ice is) and add the porosity in the computation commited previously (missing) == 8/09/2023 == JBC * New version of scripts (launch_pem.sh and exeGCM.sh) to launch the chained simulation of GCM and PEM runs. It should be simpler and clearer for users; * Update of README accordingly; * ob_ex_lsp.asc is now in Earth years like original Laskar's data + rename obl_ecc_lsp.asc; * Some improvements for the script modify_startfi_orbit.sh; * Some changes in run_PEM.def and xml files. == 11/09/2023 == JBC * New management of time in PEM. While definitions in "run.def"/"launching script" and Laskar's data are in Earth years, the PEM works in Martian years. It follows several changes and the new variable 'convert_years' to make the conversion; * New parameter for the years to be simulated. The user does not ask anymore for a number of PEM iterations to do but for a number of Earth years to simulate. The GCM years are now counted! To do so, a temporary file "tmp_PEMyears.txt" gives few basic information between the runs; * New values for the maximal admissible change of orbital parameters. They are now coherent and allows the PEM to run for ~1000 Martian years; * Laskar's data interpolation has been cleaned further; * Some cleaning and renaming of PEM subroutines in the course of the previous modifications. == 13/09/2023 == JBC The date and time are redefined at the end of PEM to write the file "restarfi_evol.nc". Like so, the next GCM runs can restart at the date and time given at the beginning of the simulation since the PEM is only progressing by step of one Martian year. == 21/09/2023 == JBC Improvements of scripts to launch the chained simulations of GCM and PEM runs. Correction of a case where maximum admissible change of orbital parameters could not be found, in particular for Lsp because of modulo + some improvements. == 26/09/2023 == JBC Minor changes concerning the form of the code in the PEM. == 28/09/2023 == JBC Addition of a file "changelog.txt" in LMDZ.COMMON/libf/evolution/ specific to the PEM rather than using the one for Mars. Completed with changesets since 01/07/2023. == 02/10/2023 == JBC Initialization of the PEM in 1D through the subroutine "init_testphys1d_mod.F90" + Some adaptations of the Mars PCM in 1D + Update of "launch_pem.sh" in deftank. == 03/10/2023 == JBC Following the commits r3066 and r3067, the PEM initialization in 1D has been adapted. == 05/10/2023 == JBC Correction of a bug: the variable 'g' was not correctly initialized in 1D. A little of code cleaning. == 06/10/2023 == JBC Big cleaning/improvements of the PEM: - Conversion of "abort_pem.F" and "soil_settings_PEM.F" into Fortran 90; - Transformation of every PEM subroutines into module; - Rewriting of many subroutines with modern Fortran syntax; - Correction of a bug in "pem.F90" when calling 'recomp_tend_co2_slope'. The arguments were given in disorder and emissivity was missing; - Update of "launch_pem.sh" in deftank. == 11/10/2023 == JBC - Correction of a bug in the initialization of constants. The correct modules are now used: 'comcstfi_h' (and no longer 'comconst_mod'!) in the general case and 'comcstfi_mod' in the case of generic model; - Addition of the variable 'ecritpem' in "run_PEM.def" to set the frequency of outputs in the "diagfi.nc". By default, 'ecritpem = 1' which means there is one output at each PEM year. == 16/10/2023 == JBC - Addition of the bash script "concat_diagpem.sh" in deftank to concatenate all the "diagpem.nc" outputs into one file; - Addition of "writediagpem_mod.F90" inspired by the subroutine "writediagfi.F" in phymars/; - Renaming of PEM outputs ('startfi_PEM' -> 'startpem' and 'diagfi' -> 'diagpem'); - Gathering of all "diagpem.nc" outputs at the same place at the end of the main PEM loop; - Update of "launch_pem.sh", "README" and "modify_startfi_orbit.sh" in the deftank. == 18/10/2023 == JBC The optional file to define the wanted outputs in "diagpem.nc" is now "diagpem.def" (instead of "diagfi.def") + Some updates in the files of deftank. == 23/10/2023 == JBC The management of files during the chained simulation of PCM/PEM runs has been simplified: - "tmp_PEMyears.txt" and "info_run_PEM.txt" have been merged into one file called "info_PEM.txt"; - "reshape_XIOS_output.F90" now creates directly the "data_PCM_Y*.nc" files needed by the PEM; - where it is relevant, 'GCM' has been replaced by 'PCM' in the files naming; - the files in deftank have been updated consequently. Following r3095, 'iniorbit' is now a subroutine of "planete_h.F90". Correction of a bug from r3088: "diagfi.nc" was not changed into "diagpem.nc" in the commited version of "writediagpem.F90"! == 26/10/2023 == JBC - Correction of a bug when running with ifort, XIOS and no sub-slopes. If compiled with ifort, the 'Reshape' program cashed because of sub-slopes variables were written in the XIOS output but not filled. A new file definition without sub-slopes can be chosen in the xml file to avoid this issue. - Addition in the 'Reshape' program of a check to remove the output files if they exist to prevent a crash. == 27/10/2023 == JBC Addition of the possibility to ask for a number of Mars years to be simulated in total (previously it was only in Earth years). == 03/11/2023 == JBC Following r3113, addition of 'nqsoil' and 'qsoil' in the arguments of the subroutines 'phyetat0' and 'physdem1' to be able to compile. == 10/11/2023 == JBC Correction of the reading of the PCM data (it did not work if no slope was used) + some minor related cleanings. == 11/11/2023 == LL Adapting the PEM soil grid to the one of the PCM Minor corrections when reading/initializing soil temperature, subsurface water ice == 20/11/2023 == JBC The perennial co2 ice is now taken into account with co2 frost (qsurf) to compute the tendency and to make the update + Rework of how co2 frost is converted to perennial co2 ice at the end of the PEM run + Correction of the value of 'threshold_co2_frost2perennial' to correspond to 10 m + Perennial co2 ice is now handled outside 'paleoclimate' in "phyetat0_mod.F90" of the Mars PCM + Some cleanings. /!\ Commit for the PEM management of co2 ice before a rework of ice management in the PEM! == 22/11/2023 == JBC Update of files in the deftank: addition of variables in the xml definition files, inclusion of "callphys.def" into "run_PEM.def" and minor typo in "launch_pem.sh". == 29/11/2023 == JBC 'Watercap' has been removed from the water ice evolution since 'water_reservoir' does already the job + Some cleanings to simplify the code. /!\ Commit for the PEM management of h2o ice before a rework of ice management in the PEM! == 01/12/2023 == JBC - Addition of a script in LMDZ.MARS/deftank/pem/ to launch a chained simulation of 1D PCM runs which follow, year by year, the orbital parameters (obliquity, eccentricity, Ls perihelion) given in a specified file. - Small changes to other files of the deftank directory (check and cosmetic). == 06/12/2023 == JBC - Simplification of the algorithm managing the stopping criteria; - Complete rework of the ice management in the PEM (H2O & CO2); > Subroutines to evolve the H2O and CO2 ice are now in the same module "evol_ice_mod.F90". > Tendencies are computed from the variation of "ice + frost" between the 2 PCM runs. > Evolving ice in the PEM is now called 'h2o_ice' or 'co2_ice' (not anymore in 'qsurf' and free of 'water_reservoir'). > Default value 'ini_h2o_bigreservoir' (= 10 m) initializes the H2O ice of the first PEM run where there is 'watercap'. For the next PEM runs, initialization is done with the value kept in "startpem.nc". CO2 ice is taken from 'perennial_co2ice' of the PCM (paleoclimate flag must be true). > Simplification of the condition to compute the surface ice cover needed for the stopping criteria. > Frost ('qsurf') is not evolved by the PEM and given back to the PCM. > New default threshold value 'inf_h2oice_threshold' (= 2 m) to decide at the end of the PEM run if the H2O ice should be 'watercap' or not for the next PCM runs. If H2O ice cannot be 'watercap', then the remaining H2O ice is transferred to the frost ('qsurf'). - Renaming of variables/subroutines for clarity; - Some cleanings throughout the code; - Small updates in files of the deftank. == 08/12/2023 == JBC - The PEM deftank folder is now in LMDZ.COMMON/libf/evolution/ (not anymore in the Mars PCM deftank). - Small corrections related to r3149. == 14/12/2023 == JBC - A number of corrections related to r3149 for CO2 ice management: > 'co2_ice' was not transferred to 'perennial_co2ice' at the end of the PEM run; > In the Mars PCM, 'perennial_co2ice' is now correctly handled regarding the frost in case of CO2 sublimation/condensation. - Addition of (CO2 and H2O) ice metamorphism: if the frost is above a given value, then the excess frost is transferred to the perennial ice. - Thresholds value for ice management can now be set in the "run_PEM.def". == 19/12/2023 == JBC PEM: - Addition of flags defined in the "run_PEM.def" to decide to do or not CO2 & H2O ice metamorphism: 'metam_co2ice' and 'metam_h2oice' (default is false). - The variations of infinite reservoirs ('watercap') during the PCM years are now taken into account to update H2O ice at the PEM initialization. - 'ini_h2o_bigreservoir' is renamed into 'ini_huge_h2oice'. - Some cleanings, in particular for the main program "pem.F90". == 04/01/2024 == LL Fixing a small bug: the subroutine compute_icetable was always called, even if tthe option 'icetable_equilibrium' was set to false in the run_PEM.def. It is now fixed by adding a flag before the call. == 05/01/2024 == LL Add the possibily to output the soil fields during a PEM run in a dedicated diagsoilpem == 08/01/2024 == LL Fixing bug when rewritting the startfi.nc for the PCM: fluxgeo, read in the run_PEM.def, was not written in the startfi. == 09/01/2024 == JBC - Correction of script "launch_orb_1Dchained.sh" which read orbital parameters missing one interval of years in two. - Addition of the Martian date in "info_PEM.txt" for post-processing. == 17/01/2024 == LL Cleaning of the several subroutine regarding soil temperatures: they are now gathered in an unique Tsoil module. (cosmetic commit) == 25/01/2024 == JBC - Addition of a script "inipem_orbit.sh" in the deftank to modify the orbital parameters of a file "startfi.nc" according to the date set in the file "run_PEM.def" and data found in "obl_ecc_lsp.asc"; - Flow of glaciers is now computed only when there are slopes; - Reversion to the name "diagpem.nc" for the PEM outputs (as decided) which was modified in r3171; - Some small cleanings. == 25/01/2024 == JBC Update of "launch_pem.sh" related to r3171 to move the "diagsoilpem.nc" in the intended output folder. == 29/01/2024 == LL Fixing bug when recomputing Tsoil for the startfi. It is now done with: Tsoil averaged + Delta T where delta T is tthe difference between the instantaneous soil temperature and the yearly averaged soil temperature in the original startfi. == 30/01/2024 == LL Fixing bug in writediagpem: soil layers written in the diagpem where those of the PCM and not the PEM. == 02/02/2024 == JBC Small correction following r3189 in the case where "soilpem = .false.". == 06/02/2024 == LL Update in the dependance of soil properties with the pressure: the program now u sed a combination of work by Presley & Christensen 1997 & Piqueux & Christensen 2009. In pratice, values of the TI are bounded between 50 and 360 USI. The conductivity of the Breccia layer does not change anymore with the pressure,as it should be neglectable. Some cleaning in the routine update_soilproperties == 08/02/2024 == JBC Cleanings of unused variables/arguments and bad type conversions. == 09/02/2024 == JBC - Addition in the deftank of a bash script "modify_startfi_var.sh" to modify the value of a variable in a "startfi.nc". - Small corrections due to r3206. == 12/02/2024 == JBC - It is now possible to set the number of initial PCM calls independently of the number of "inter-PEM" PCM calls. It is useful to get a stable situation for the start of the simulation. - Correction of a bug: 'reshape_XIOS_output' treated the first two PCM runs instead of the last two. The numbering has been adapted in "launch_pem.sh" to get it right. - PEM outputs ("diagpem.nc" and "diagsoil_pem.nc") has been improved: 'Time' now evolves according to 'dt_pem' (usually year by year) and 'ecritpem' is a full variable of "time_evol_mod.F90". == 13/02/2024 == JBC Small syntax correction of the if condition in "launch_pem.sh" following r3214. == 07/03/2024 == JBC Adaptation of threshold values for ice management (in particular 'inf_h2oice_threshold') to more realistic values. == 13/03/2024 == LL Correction of small mistake when computing the total mass of CO2/H2O stored in the soil; the wrong layer index was used == 28/03/2024 == JBC Introduction of the module aiming to manage the layered deposits through a linked list data structure. It contains: - the object 'stratum' which holds several properties for one layer as well as pointers to the lower/upper 'stratum'; - the object 'layering' which brings the linked 'stratum' objects together as a comprehensive structure; - properties for CO2/H2O ice, regolith and dust; - several subroutines to manipulate the 'layering' and 'stratum' (initilize, finalize, display, modify, etc); - subroutines of the algorithm to make the layering evolve according to the input tendencies (new layer, change of content in a layer, creation of dust lag layer, etc). == 29/03/2024 == JBC - Small correction to make the 3D PEM be able to compile. - Improvement of "launch_pem.sh": a file "kill_launch_pem.sh" is now automatically created which allows the user to kill the process of the launching script in case. == 08/04/2024 == JBC Correction of "launch_pem.sh" in the deftank: the number of years to be simulated was not respected because of extra PCM runs at the end of the simulation due to the order of PCM/PEM runs inside the loop. == 08/04/2024 == JBC Integration of the module "layering_mod.F90" with the rest of the PEM: - The linked list data structure representative of layered deposits is converted into an array which can be outputed in the "restartpem.nc" files. This array has dimensions (ngrid,nslope,nb_str_max,6) where 'nb_str_max' is the maximum number of 'stratum' through the layerings and '6' is the number of properties of 'stratum'; - this structure can also be read from "startpem.nc" files to initialize PEM runs; - The layering algorithm is now used in the main PEM loop to make the layerings evolve. == 10/04/2024 == JBC Addition of a Python script "output_layering.py" in the deftank which allows to output layering data nicely from the "startpem.nc" files. == 15/04/2024 == JBC Update of "output_layering.py" in the deftank. == 19/04/2024 == JBC Few small corrections to make the PEM work in 3D, in particular concerning the initialization of the planet type and the evolution of ice with slopes. == 23/04/2024 == JBC Small correction about the dimension of an array. == 25/04/2024 == JBC The "start" and "startfi" file names are renamed to match those from the Mars PCM. This is necessary to initialize correctly the 3D PEM with "phys_state_var_init_mod.F90". == 26/04/2024 == JBC - Small corrections to make the PEM work in 3D. - Addition of the flag "layering_algo" (Default = .false.) defined in the "run_PEM.def" to choose to use the layering algorithm. == 30/04/2024 == JBC Small correction of a bug in the reading of "run_PEM.def" + some cleanings. == 02/05/2024 == JBC Correction in the layering algorithm in case of a stratum which is disappearing + few cleanings. == 13/05/2024 == LL Correction of a bug when setting the albedo / emissivity: it should be the PCM which sets the emissivity / albedo of the CO2 ice (because of CO2 snowfall) and not the PEM. I thus removed the lines in the PEM accordingly == 15/05/2024 == JBC - Update of some default parameters; - Correction of a bug when the ice table was too low for the PEM subsurface discretization; - Correction of the computation for the change of sublimating ice necessary to the stopping criteria (the mistake was introduced in r3149) + simplification of the algorithm + renaming of variables with more explicit names; - Cleaning of "soil_thermalproperties_mod.F90". == 15/05/2024 == LL - Remove a wrong line which modified the initial surface sublimating during the main time loop - Cleaning the previous cleaning commit. == 16/05/2024 == JBC Improvement of a flag-like variable (more robust as a logical) to know where co2 ice was at the beginning. == 16/05/2024 == JBC Update of the layering algorithm + corrections of wrong lines commited in r3330. == 22/05/2024 == JBC Correction of the way sublimating ice is identified at the beginning of the PEM + some updates for the default variables and the display of information. == 23/05/2024 == JBC Making "writediagsoilpem.F90" work in 3D with the correct PEM soil depth dimension. == 27/05/2024 == LL Fixing bug in update_soilthermal properties: in case of an ice table, the dry regolith was wrongly initialized. == 31/05/2024 == JBC New script called "launchPEM.sh" to launch a chained simulation of PCM/PEM runs: - It is far more efficient since it submits a cycle of PCM/PEM dependent jobs waiting in the SLURM queue. Plus, it does not involve a endless running master script; - It is more robust and user-friendly since it holds lots of warning/error messages handling different situations. It can take arguments to adapt to the needs of the user. It also creates automotically a script called "kill_launchPEM.sh" to cancel all the current dependent jobs. There are 3 other files to make it work: - "lib_launchPEM.sh" which is the library containing the bash functions used by the script; - "jobPCM.slurm" which is the SLURM job script for the PCM used as a template by the script; - "jobPEM.slurm" which is the SLURM job script for the PEM used as a template by the script. More info in the "README" of the deftank. == 31/05/2024 == JBC - Updates for several scripts in the deftank. - Addition of the bash script "clean.sh" to clean a folder after a PEM simulation. == 03/06/2024 == JBC Addition of a script to execute multiple scripts in subdirectories (useful to launch multiple jobs at once for ex.) + Updates for several scripts in the deftank. == 03/06/2024 == JBC The launching script can now operate a relaunch from any already computed PCM/PEM run. The starting point is asked to the user interactively on the terminal. Some features might not work very well yet since not every stituation has not been tested. == 10/06/2024 == JBC - The PEM can now stop itself cleanly before the SLURM time limit for the job is reached and it continues the simulation with a new cycle. - Update of "jobPEM.slurm" in the deftank to guarantee enough memory space to run the job. - Few minor cleanings. == 10/06/2024 == JBC Correction of an error in "lib_launchPEM.sh" due to a miscalculated condition + Improvement of the relaunch which now cleans the unnecessary files. == 11/06/2024 == LL Fixing bug in the initial computation of ice tendencies (a negative tendancies was computed when a glacier was disapearing at the end of the second year of the PCM). Fixing a bug in the update of the tendencies of CO2 to ensure mass conservation == 11/06/2024 == JBC Removal of useless condition and variable + some updates. == 11/06/2024 == JBC Correction related to r3367. == 13/06/2024 == LL Fixing bug to update the CO2 ice tendency: the case when a glacier diseapper was not handled == 17/06/2024 == JBC Small correction for the initialization value of 'dtphys' + Corrections for the launching script. == 18/06/2024 == JBC Correction related to r3330 for the initialization of the global average pressure taken from the PCM: it has to be done before the call of "pemetat0". == 19/06/2024 == JBC - Correction for the initialization in 1D due to the change of 'ecritphy' into 'outputs_per_sol' in r3369. - Correction in the condition to check the normal end of a PCM/PEM run in "jobP*M.slurm" files. - Correction of files cleaning in the launching script. - Improvement of the launching script to take into account the modification of parameters for a relaunch. == 20/06/2024 == JBC - Correction of the way the PEM stops before it reaches the SLURM time limit. - Small correction for 1D related to r3386. - Improvement of launching script. == 20/06/2024 == JBC Correction due to a wrong line introduced with r3387. == 25/06/2024 == JBC Correction to r3387 for the time limit stopping criterion. == 02/07/2024 == JBC Addition of the possiblity to launch the 1D model in the launching script + correction of small errors. == 08/07/2024 == JBC Updates and improvements related to the last modifications of the launching script. == 24/07/2024 == JBC Small corection for the 1D related to r3386 and r3369 + Making the computation of maximum number of iterations due to orbital variations more robust. == 09/08/2024 == JBC Addition in the launching script of the possibility to submit a job with PBS/TORQUE + Modification to make the time limit detection in "pem.F90" work with PBS/TORQUE + Update of the headers of .job files. == 22/08/2024 == JBC Adaptation of the job submission script to get enough memory for the job without asking the exclusive mode. == 22/08/2024 == JBC Small update for the launching script. == 26/08/2024 == JBC Correction for the launching script due to r3403: the job scheduler detection was missing in the case of a new cycle. == 02/09/2024 == JBC Modification to the layering algorithm to make dust lag prevent further sublimation. == 06/09/2024 == JBC Modification in the way of updating the soil temperatures to improve the computation time + Small correction in the calculation of 'timestep'. == 16/09/2024 == JBC Corrections and improvements for the launching script. == 18/09/2024 == JBC - Correction of the way stopping criteria interact with each other because of a situation where the algorithm does not stop even though a stopping criterion was met. - Update and corrections for the layering algorithm: there is now only one subsurface stratum. - Improvement of the launching script in the case of the 1D PEM: it ends automatically after PCM/PEM run crash. == 20/09/2024 == JBC Small corrections for the launching script (run numbers must be integer) and the PEM stopping criteria algorithm related to r3430. == 27/09/2024 == JBC Correction: the potential temperature teta is now updated due to the change of surface pressure at the end of the PEM to write the "restart.nc" file. == 30/09/2024 == JBC Correction of the launching script for a relaunch situation. == 11/10/2024 == JBC Cleaning of the adsorption module to make the debugging easier. == 11/10/2024 == JBC Modification of dimension detection for the variables written in "diagpem.nc": in particular for 'nb_str_max' which can evolve and match the value of other dimensions. == 11/10/2024 == JBC Addition of a python script to visualize the layerings over time and on a reference grid for elevation which is specified by the user. == 15/10/2024 == JBC Update and correction for the visualization of the layerings over time. == 24/10/2024 == EV adding the NS dynamic subsurface ice module in the PEM == 24,29,30/10/2024 == EV we added the option to use NS dynamical subsurface ice in the model to more realisticly calculate the amount of ice in the subsurface and therfore the subsurface thermal inertia == 04/11/2024 == JBC Correction of initialization of 'icetable_dynamic' and the management of the flag. == 05/11/2024 == JBC Correction in the formula to update the potential temperature introduced in r3442. == 05/11/2024 == JBC - Renaming of Norbert Schorghofer's subroutines with the prefix 'NS_'; - Making the extension of all NS's subroutines as '.F90'; - Deletion of the wrapper subroutine; - Making the initialization, variables management and arguments of the main subroutine for the dynamic computation of ice table to be more suitable. == 07/11/2024 == JBC Modifications related to the launching script: - There is actually no launching difference between the 1D and 3D models. It is more about how and where you want to execute. So now, the user can choose between two launching modes with the parameter "mode" (0 = "processing scripts"; any other values = "submitting jobs"). The former option is usually used to process the script on a local machine while the latter is used to submit jobs on supercomputer; - The execution command line in the job scripts that should be modified by the user according to the set-up is now given as an argument at the beginning to be more identifiable and adaptable; - Making the job scripts more robust to detect a successful end. == 07/11/2024 == JBC - Correction of the variable name for the ice table depth in "pemetat0.F90". So it is now got as intended from the "startpem.nc" file; - Renaming of the tendencies in the PEM with the prefix 'd_' instead of 'tend_'; - Modification of the PEM time step type from integer to real. As a consequence, all time variables are now of real type. This change adds the possibility to consider fractions of year as time step. == 12/11/2024 == JBC Few corrections related to r3498 (time step from integer to real) and r3493 (Norbert Schorghofer's subroutines for dynamic ice table) in order to make the code work properly. == 13/11/2024 == JBC Small correction for the launching script following the r3498 (time step from integer to real). == 14/11/2024 == JBC Small corrections related to r3498 (time step from integer to real) for the launching script + making a proper initilization of 'year_bp_ini' in case of there is no orbital evolution.