Ignore:
Timestamp:
May 23, 2012, 4:32:58 PM (13 years ago)
Author:
acolaitis
Message:

ADAPTED RESTART IN MESOSCALE AND LES.
Warning: MMM always puts the initialization state as the first frame in outputs :

init,frame1,frame2,...,frameN

Hence, when using runs restarting from one another, one will get:

init,frame1,frame2,...,frameN
frameN,frameN+1,...,frame2N

Dont forget to remove the initialization frame before concatenating your netcdfs !!

HOW TO USE THE RESTART IN LES AND MESOSCALE ?
Exemple :
=========


INITIALIZE FIRST RUN (ideal.exe or real.exe)
FIRST RUN



FIRST RUN


EXTRACT FROM namelist.input:

&time_control
run_seconds = 60 !! Duration of simulation [LES: !=0]
history_interval_s = 10 !! Frequency of outputs in seconds [LES: !=0]
frames_per_outfile = 37 !! Size of time dimension in files
start_year = 9999 !! Idealized simulation [LES: 9999]
start_month = 01
start_day = 01
start_hour = 00
start_minute = 00
start_second = 00
end_year = 9999 !! Idealized simulation [LES: 9999]
restart = .false. !! (*) whether this run is a restart run
restart_interval = 1 !! (*) restart output file interval in minutes
io_form_history = 2 !! (*) Choice of NETCDF for ouputs
io_form_restart = 2 !! (*) Choice of NETCDF for ouputs
io_form_input = 2 !! (*) Choice of NETCDF for ouputs
io_form_boundary = 2 !! (*) Choice of NETCDF for ouputs
debug_level = 0 !! (*) Verbose level
/

This will produce a restart file : wrfrst_d01_9999-01-01_00:01:00
(and a regular output file)


SECOND RUN, RESTART FROM FIRST
YOU DONT NEED TO RECOMPUTE START FILES (no need for ideal.exe or real.exe)


EXTRACT FROM namelist.input:

&time_control
run_seconds = 60 !! Duration of simulation [LES: !=0]
history_interval_s = 10 !! Frequency of outputs in seconds [LES: !=0]
frames_per_outfile = 37 !! Size of time dimension in files
start_year = 9999 !! Idealized simulation [LES: 9999]
start_month = 01
start_day = 01
start_hour = 00
start_minute = 01
start_second = 00
end_year = 9999 !! Idealized simulation [LES: 9999]
restart = .true. !! (*) whether this run is a restart run
restart_interval = 1 !! (*) restart output file interval in minutes
io_form_history = 2 !! (*) Choice of NETCDF for ouputs
io_form_restart = 2 !! (*) Choice of NETCDF for ouputs
io_form_input = 2 !! (*) Choice of NETCDF for ouputs
io_form_boundary = 2 !! (*) Choice of NETCDF for ouputs
debug_level = 0 !! (*) Verbose level
/

This requires wrfrst_d01_9999-01-01_00:01:00 to be present
This will produce a restart file : wrfrst_d01_9999-01-01_00:02:00


etc ad infinitum !


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/physiq.F

    r660 r667  
    16371637      !!!
    16381638      wtsurf(1:ngrid) = tsurf(1:ngrid)    !! surface temperature
     1639      IF (tracer) THEN
    16391640      wco2ice(1:ngrid) = co2ice(1:ngrid)  !! co2 ice
    16401641      mtot(1:ngrid) = mtot(1:ngrid) * 1.e6 / rho_ice
     
    16591660       enddo
    16601661      enddo
     1662      ENDIF
    16611663      !! TAU water ice as seen by TES
    16621664      if (activice) tauTES = taucloudtes
Note: See TracChangeset for help on using the changeset viewer.