esjiayu_bin@163_com
New Member
hi everyone, I want to output the values of asdir in /models/atm/cam/src/physics/cam/radsw.F90 in CESM1_2_1 to the output history file . the following shows what i've done (Bold Font):--------------------------------------------------------------- use rad_solar_var, only: get_variability use cmparray_mod, only: CmpDayNite, ExpDayNite use quicksort, only: quick_sort use phys_control, only: phys_getopts use solar_data, only: sol_tsi, do_spctrl_scaling, ref_tsi use radconstants, only: frcsol, ph2o, pco2, po2 use cam_history, only: addfld, outfld, add_default, phys_decomp............... ! If night everywhere, return: if ( Nday == 0 ) then return endif call addfld ('SWALBEDO ',' ',1, 'A','shortwave albedo',phys_decomp) call add_default ('SWALBEDO ', 1 , ' ')! Rearrange input arrays ..... if (scm_crm_mode) then ! overwrite albedos for CRM if(have_asdir) asdir = asdirobs(1) if(have_asdif) asdif = asdifobs(1) if(have_aldir) aldir = aldirobs(1) if(have_aldif) aldif = aldifobs(1) endif call outfld('SWALBEDO ',asdir , pcols ,lchnk )[/b]!! Perform other initializations.......-------------------------------------------------
the build was NOT successful.
error in /bld/atm.bldlog is :(shr_sys_abort) ERROR: ADDFLD: Attempt to add field SWALBEDO after history files set
Could anyone help?thanks :)
the build was NOT successful.
error in /bld/atm.bldlog is :(shr_sys_abort) ERROR: ADDFLD: Attempt to add field SWALBEDO after history files set
Could anyone help?thanks :)