Skip to content

CodeConsolidation

yingping Wang edited this page Jul 21, 2016 · 27 revisions

Code consolidation status and plans, July 2016

Code development is happening across multiple branches. Much is independent but some (often 'minor') fixes may have implications for other users/developers. We need a strategy for code consolidation and testing across applications.

Major development work is largely confined to the following groups/branches/tickets:

Vanessa and Lars' work

Branch: https://trac.nci.org.au/trac/cable/browser/branches/Share/Tickets2015/49-SLI/tr1714_b

Tickets: #18 (SLI), #61 (POP), #73 (bug fix), #90 (bug fixes/improvements - general CABLE), #93 (photosynthesis/transpiration coupling), #94 (technical capability)

Documentation: SLI paper, POP paper, recent GMD paper

Status:

SLI: code isolated by switch, cable_user%SOIL_STRUC = 'sli', confirmed [?] no impact if switched off so can go into trunk

POP: code isolated by switch, cable_user%CALL_POP, to confirm [?] that no impact if set to FALSE, then can go into trunk

=### Vanessa's Work

Branch: https://trac.nci.org.au/trac/cable/browser/branches/Users/vxh599/tr1714b_LU

Tickets : #109 Land-use Module, including gross LUC transitions and distinction between primary and secondary forest contributions to carbon balance

#110 Climate-dependent phenology, Climate-dependent spatial distribution of PFTs, Temperature acclimation of autotrophic respiration

#111 Daily CRU-NCEP forcing (down-scaled using weather generator), and applied to TRENDY experiments

#108 Fixes for negative carbon and nitrogen pools.

======================================================================================================================

Bug fixes/general CABLE code improvements (#73, #90, #93): compatibility/overlap/issues for other developments, implications across all applications

Technical capability: See notes in ticket. Generally additional capability and tried not to impact functioning of original code. Has 'resurrected' some of the netcdf related routines (potential overlap with anyone else?)

Ying-Ping, Bernard and Chris' work

Branch(es):https://trac.nci.org.au/trac/cable/browser/branches/Users/yxw599/CABLE-2.0_mpi

Tickets: #95 (transpiration, evaporation and run-off)

Documentation:

Status:

Mark's work

Branch: https://trac.nci.org.au/svn/cable/branches/Users/mrd561/CABLE-2.2.3-GW-Medlyn/ (hydrology and GSWP3)

Branch: https://trac.nci.org.au/svn/cable/branches/Users/mrd561/CABLE-trunk/ (GSWP3 forcing ability only)

CABLE-2.2.3-GW-Medlyn

Aside from IO and variables changes to cable_canopy (for surface wetness calculation and the Medlyn stomatal conductance) and an additional file (cable_soilsnow_GW.F90). Requires data for subgrid scale mean and standard deviation of slope (GSWP3_elevation_slope_mean_stddev.nc) in https://trac.nci.org.au/svn/cable/branches/Users/mrd561/CABLE_AUX-dev/ for offline GSWP3 runs.

For use in ACCESS the files on a different grid are available on raijin.

Tickets: #86 (GSWP3 forcing capability), #97 (hydrology)

Documentation: Decker 2015

Status: cable_user%GSWP3 = .true. (GSWP3 forcing) Status: cable_user%GW_MODEL = .true. (New Hydrology)

Branch: https://trac.nci.org.au/svn/cable/branches/Users/mrd561/CABLE-2.2.3-GW-Medlyn-Or-testing/

Includes a switch (cable_user%or_evap = .true.) to use the pore model diffusion based resistance from Hanhigni and Or 2013, 2015. Manuscript in process.

Ruth's GLACE work

Branch: https://trac.nci.org.au/trac/cable/browser/branches/Users/rzl561/CABLE-2.3.4_r2961_GLACE-typeForcing

UM changes - https://access-svn.nci.org.au/trac/um/browser/branches/dev/rzl561/ACCESS-1.3_CABLE-2.0_repl_GLACE

Ticket: #96 (GLACE capability)

Documentation: Word file in ticket, paper

Status: On switch

Long-standing tickets - potential bugs

#7 large betaroot

#37 hard-wired vegetation numbers (lakes/ice)

#57 snow initialisation in offline (is this still a bug?)

#60 still relevant?

#62 offline albedo - still relevant?

#66 Initialisation of soil%pwb_min for offline

#67 Allowing for zetar going to zero

#68 Soil texture initialisation in online version

#70 Initialisation of owetfac

#89 Issue with input filenames (solution tested but not yet in trunk?)

#92 accounting for leap years

#104 calcalbedosoil and patchout in namelist declaration but not namelist

Long-standing tickets - potential improvements

#33 Writing namelist variables to output

#39 need for vbeta

#40 froot reconciliation across versions (offline/online)

#44 typo in FWSOIL_SWITCH name

#55, #83 single/double precision consistency

#71 initialisation in soilsnow

#74 initialisation of ktau counters in offline MPI version

#82 carbon conservation. Both VH and YPW have potential fixed this but VH version improves but doesn't completely resolve problems in ACCESS runs and YPW version yet to be tested for ACCESS.

#88 General land-use ticket - need more clarity over who has done/is doing what

Clone this wiki locally