59 |
_BEGIN_MASTER( myThid ) |
_BEGIN_MASTER( myThid ) |
60 |
|
|
61 |
c-- Sea-ice cost function start and stop times in model seconds. |
c-- Sea-ice cost function start and stop times in model seconds. |
62 |
|
c |
63 |
call cal_FullDate ( costIceStart1 , costIceStart2, |
call cal_FullDate ( costIceStart1 , costIceStart2, |
64 |
& tempDate1 , mythid ) |
& tempDate1 , mythid ) |
65 |
call cal_TimePassed( modelstartdate, tempDate1 , |
call cal_TimePassed( modelstartdate, tempDate1 , |
66 |
& tempDate2 , mythid ) |
& tempDate2 , mythid ) |
67 |
call cal_ToSeconds ( tempDate2 , costIceStart , mythid ) |
call cal_ToSeconds ( tempDate2 , costIceStart , mythid ) |
68 |
costIceStart = costIceStart + startTime |
costIceStart = costIceStart + startTime |
69 |
|
c |
70 |
call cal_FullDate ( costIceEnd1 , costIceEnd2 , |
call cal_FullDate ( costIceEnd1 , costIceEnd2 , |
71 |
& tempDate1 , mythid ) |
& tempDate1 , mythid ) |
72 |
call cal_TimePassed( modelstartdate, tempDate1 , |
call cal_TimePassed( modelstartdate, tempDate1 , |
73 |
& tempDate2 , mythid ) |
& tempDate2 , mythid ) |
74 |
call cal_ToSeconds ( tempDate2 , costIceEnd , mythid ) |
call cal_ToSeconds ( tempDate2 , costIceEnd , mythid ) |
75 |
costIceEnd = costIceEnd + startTime |
costIceEnd = costIceEnd + startTime |
76 |
|
c-- |
77 |
|
call cal_FullDate( smrareastartdate1, smrareastartdate2, |
78 |
|
& smrareastartdate, mythid ) |
79 |
|
|
80 |
_END_MASTER( mythid ) |
_END_MASTER( mythid ) |
81 |
|
|
83 |
|
|
84 |
c-- Get the weights that are to be used for the individual cost |
c-- Get the weights that are to be used for the individual cost |
85 |
c-- function contributions. |
c-- function contributions. |
86 |
cph call seaice_cost_weights( mythid ) |
call seaice_cost_weights( mythid ) |
87 |
|
|
88 |
c-- Initialise adjoint of monthly mean files calculated |
c-- Initialise adjoint of monthly mean files calculated |
89 |
c-- in cost_averagesfields (and their ad...). |
c-- in cost_averagesfields (and their ad...). |