A method to perform a Mars experiment is described.
Following physical processes are used in this experiment.
This experiment requires data of distribution of surface properties and radiative property. So, the experiment is performed with the following 4 steps:
Let us move to the top directory of dcpam5 src tree (assuming dcpam5-YYYYMMDD in the following example). Here, we perform an experiment in ../dcpam5-exp/Mars-exp directory. Please create the directory and enter there as follows:
$ mkdir -p ../dcpam5-exp/Mars-exp $ cd ../dcpam5-exp/p04-exp
Then, pleaase create the directories for executable files and configuration files as follows:
$ mkdir bin $ mkdir conf
Finally, executable files and configuration files are copied as follows:
$ cp ../../dcpam5-YYYYMMDD/src/main/dcpam_main bin $ cp ../../dcpam5-YYYYMMDD/src/main/init_data bin $ cp ../../dcpam5-YYYYMMDD/exp_setup_files/*.conf conf
Note that you can perform an experiment in any directory by using executable files and configuration (NAMELIST) files.
Create initial data file "init_T21L32.nc" using "bin/init_data" and "conf/init_data_M_T21L32.conf"
$ ./bin/init_data -N=./conf/init_data_M_T21L32.conf *** MESSAGE [init_data] *** Run: Initial data generation *** MESSAGE [init_data] *** -- version = $Name: dcpam5-20120224 $$Id: exp-Mars.rd,v 1.8 2012-02-23 23:05:23 takepiro Exp $ *** MESSAGE [namelist_util] *** ----- Initialization Messages ----- *** MESSAGE [namelist_util] *** MaxNmlArySize = 256 *** MESSAGE [namelist_util] *** -- version = $Name: dcpam5-20120224 $$Id: exp-Mars.rd,v 1.8 2012-02-23 23:05:23 takepiro Exp $ *** MESSAGE [timeset] *** NAMELIST group "timeset_nml" is loaded from "./conf/init_data_M_T21L32.conf". : *** MESSAGE [initial_data] *** QVapAvr = 0. *** MESSAGE [initial_data] *** Ueq = 0. *** MESSAGE [initial_data] *** *** MESSAGE [initial_data] *** -- version = $Name: dcpam5-20120224 $$Id: exp-Mars.rd,v 1.8 2012-02-23 23:05:23 takepiro Exp $ *** MESSAGE [HistoryClose] *** "init_T21L32.nc" is closed ############## CPU TIME SUMMARY ################ others 0.120000E-01 ------------------------------------------------ TOTAL TIME = 0.120000E-01
This experiment requires additional data, sea surface temperature, surface properties, sea ice density, and ozone distribution. Those data are prepared at following site.
Please download "sp_for_Mars_T021_MGS+MGS+cons.nc" and "lnactbl15m_2006-07-13.nc" from above site, and place those files at experimental directory.
At the last, run a experiment using "dcpam_main" and "dcpam_M_T21L32.conf". Resolution is T21L32. Integration time is 2 days. A restart data file, a restart data file of surface data, and some history data files are output.
$ ./dcpam_main -N=dcpam_M_T21L32.conf | tee Mars.log
If initial data, surface data, settings of experiments want to be changed, edit "init_data_M_T21L32.conf", "dcpam_M_T21L32.conf" in "conf" directory.
If you would like to keep the results of the numerical experiment, please create a sub directory ("data01" for example), move the files, and keep the current directory neatly.
$ mkdir data01 $ mv *.nc *.log data01/
You can output the results of the numerical experimet concurrently with the execution. Please refer to "Change output settings" in Change experimental setup and try to configure "FilePrefix" variable in NAMELIST ">ool_historyauto_nml".