When coupling iLOVECLIM to GRISLI including ICEBERGS the same steps have to be taken as in coupling iLOVECLIM to GRISLI plus:
lbm/choixcomposantes.h
CALVFLUX = 1 (creating of icebergs)
then icebergs/inputdata: positb.init: here the different ways of creating icebergs are defined (4 eq coupled GRISLI)
check in ism2/grisli/inputdata: hemin40_param_list.dat "Hcoup" to check the height when calving occurs (H < Hcoup is cut off and used for production of icebergs)
check if ism2/grisli/inputdata: hemin40_param_list.dat "snow" either true or false corresponds to CPLTYP in choixcomposantes.
set PMIP = 1
if PMIP 1 then atmospheric output is defined in ecbilt/outp_atmos.param
ecbilt_clio/emic.param-alternate has to be used and there ICEBERG "T" (instead of F)
if you want to have the waterconservation activated
lbm/sources/choixcomposantes.h
WATGRISCONS = 1
APPLY_UNCORFWF = 1
if you don't want to use the calved mass to produce icebergs but be put into the ocean (top layer) directly:
lbm/choixcomposantes.h
CALVFLUX = 2
check in ism2/grisli/inputdata: hemin40_param_list.dat "Hcoup" to check the height when calving occurs (H < Hcoup is cut off and used for production of icebergs)
check if ism2/grisli/inputdata: hemin40_param_list.dat "snow" either true or false corresponds to CPLTYP in choixcomposantes.
set PMIP = 1 if PMIP 1 then atmospheric output is defined in ecbilt/outp_atmos.param
ecbilt_clio/emic.param-alternate has to be used and there ICEBERG "F" (instead of T)
if you want to have the waterconservation activated
lbm/sources/choixcomposantes.h
WATGRISCONS = 1
APPLY_UNCORFWF = 1