Changeset 11581
- Timestamp:
- 2019-09-20T11:40:13+02:00 (5 years ago)
- Location:
- NEMO/branches/UKMO/NEMO_4.0_init_ice/src/ICE
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/UKMO/NEMO_4.0_init_ice/src/ICE/iceistate.F90
r10888 r11581 48 48 ! !! ** namelist (namini) ** 49 49 LOGICAL :: ln_iceini ! initialization or not 50 LOGICAL :: ln_iceini_file ! Ice initialization state from 2D netcdf file 50 INTEGER :: nn_iceini_file ! Ice initialization: 51 ! 0 = Initialise sea ice based on SSTs 52 ! 1 = Initialise sea ice from single category netcdf file 53 ! 2 = Initialise sea ice from multi category restart file 51 54 REAL(wp) :: rn_thres_sst ! threshold water temperature for initial sea ice 52 55 REAL(wp) :: rn_hts_ini_n ! initial snow thickness in the north … … 125 128 ! 126 129 ! !---------------! 127 IF( ln_iceini_file)THEN ! Read a file !130 IF( nn_iceini_file == 1 )THEN ! Read a file ! 128 131 ! !---------------! 129 132 ! … … 512 515 TYPE(FLD_N), DIMENSION(jpfldi) :: slf_i ! array of namelist informations on the fields to read 513 516 ! 514 NAMELIST/namini/ ln_iceini, ln_iceini_file, rn_thres_sst, rn_hts_ini_n, rn_hts_ini_s, &517 NAMELIST/namini/ ln_iceini, nn_iceini_file, rn_thres_sst, rn_hts_ini_n, rn_hts_ini_s, & 515 518 & rn_hti_ini_n, rn_hti_ini_s, rn_ati_ini_n, rn_ati_ini_s, rn_smi_ini_n, & 516 519 & rn_smi_ini_s, rn_tmi_ini_n, rn_tmi_ini_s, & … … 536 539 WRITE(numout,*) ' Namelist namini:' 537 540 WRITE(numout,*) ' initialization with ice (T) or not (F) ln_iceini = ', ln_iceini 538 WRITE(numout,*) ' ice initialization from a netcdf file ln_iceini_file = ', ln_iceini_file541 WRITE(numout,*) ' ice initialization from a netcdf file nn_iceini_file = ', nn_iceini_file 539 542 WRITE(numout,*) ' max delta ocean temp. above Tfreeze with initial ice rn_thres_sst = ', rn_thres_sst 540 543 WRITE(numout,*) ' initial snow thickness in the north rn_hts_ini_n = ', rn_hts_ini_n … … 550 553 ENDIF 551 554 ! 552 IF( ln_iceini_file) THEN ! Ice initialization using input file555 IF( nn_iceini_file == 1 ) THEN ! Ice initialization using input file 553 556 ! 554 557 ! set si structure -
NEMO/branches/UKMO/NEMO_4.0_init_ice/src/ICE/icestp.F90
r11081 r11581 252 252 ! 253 253 ! ! Initial sea-ice state 254 IF( .NOT. ln_rstart ) THEN ! start from rest: sea-ice deduced from sst254 IF( .NOT. ln_rstart .AND. nn_iceini_file /= 2 ) THEN ! start from rest: sea-ice deduced from sst 255 255 CALL ice_istate_init 256 256 CALL ice_istate
Note: See TracChangeset
for help on using the changeset viewer.