New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 7293 for branches/2016/dev_r6859_LIM3_meltponds/NEMOGCM/NEMO/LIM_SRC_3/limwri.F90 – NEMO

Ignore:
Timestamp:
2016-11-21T16:27:53+01:00 (7 years ago)
Author:
vancop
Message:

Commit infrastructure for melt pond impletation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2016/dev_r6859_LIM3_meltponds/NEMOGCM/NEMO/LIM_SRC_3/limwri.F90

    r6970 r7293  
    207207      CALL iom_put ('hfxspr'     , hfx_spr(:,:)         )   ! Heat content of snow precip  
    208208 
     209      ! MV MP 2016 
     210      IF ( ln_limMP ) THEN 
     211         CALL iom_put( "iceamp"  , at_ip  * zswi        )   ! melt pond total fraction 
     212         CALL iom_put( "icevmp"  , vt_ip  * zswi        )   ! melt pond total volume per unit area 
     213      ENDIF 
     214      ! END MV MP 2016 
     215 
    209216       
    210217      !-------------------------------- 
     
    223230      ! brine volume 
    224231      IF ( iom_use( "brinevol_cat" ) )  CALL iom_put( "brinevol_cat", bv_i * 100. * zswi2 ) 
     232 
     233      ! MV MP 2016 
     234      IF ( ln_limMP ) THEN 
     235         IF ( iom_use( "iceamp_cat"  ) )  CALL iom_put( "iceamp_cat"     , a_ip   * zswi2   )       ! melt pond frac for categories 
     236         IF ( iom_use( "icevmp_cat"  ) )  CALL iom_put( "icevmp_cat"     , v_ip   * zswi2   )       ! melt pond frac for categories 
     237      ENDIF 
     238      ! END MV MP 2016 
    225239 
    226240      !     !  Create an output files (output.lim.abort.nc) if S < 0 or u > 20 m/s 
     
    286300      &      jpi, jpj, kh_i, 1, 1, 1, -99, 32, "inst(x)", rdt, rdt )  
    287301 
     302      ! MV MP 2016 
     303      IF ( ln_limMP ) THEN 
     304         CALL histdef( kid, "si_amp", "Melt pond fraction"      , "%"      ,   & 
     305      &         jpi, jpj, kh_i, 1, 1, 1, -99, 32, "inst(x)", rdt, rdt ) 
     306         CALL histdef( kid, "si_vmp", "Melt pond volume"        ,  "m"     ,   & 
     307      &         jpi, jpj, kh_i, 1, 1, 1, -99, 32, "inst(x)", rdt, rdt ) 
     308      ENDIF 
     309      ! END MV MP 2016 
     310 
    288311      CALL histdef( kid, "vfxbog", "Ice bottom production"   , "m/s"    ,   & 
    289312      &      jpi, jpj, kh_i, 1, 1, 1, -99, 32, "inst(x)", rdt, rdt ) 
     
    330353      CALL histwrite( kid, "sidive", kt, divu_i*1.0e8   , jpi*jpj, (/1/) ) 
    331354 
     355      ! MV MP 2016 
     356      IF ( ln_limMP ) THEN 
     357         CALL histwrite( kid, "si_amp", kt, at_ip         , jpi*jpj, (/1/) ) 
     358         CALL histwrite( kid, "si_vmp", kt, vt_ip         , jpi*jpj, (/1/) ) 
     359      ENDIF 
     360      ! END MV MP 2016 
     361 
    332362      CALL histwrite( kid, "vfxbog", kt, wfx_bog        , jpi*jpj, (/1/) ) 
    333363      CALL histwrite( kid, "vfxdyn", kt, wfx_dyn        , jpi*jpj, (/1/) ) 
Note: See TracChangeset for help on using the changeset viewer.