1 subroutine da_allocate_observations_chem_sfc (iv)
3 !---------------------------------------------------------------------------
4 ! Purpose: Allocate components of observation structure.
5 !---------------------------------------------------------------------------
9 type (iv_type), intent(inout) :: iv ! Observation structure.
13 if (trace_use) call da_trace_entry("da_allocate_observations_chem_sfc")
15 if (iv%info(chemic_surf)%nlocal > 0) allocate(iv%chemic_surf(1:iv%info(chemic_surf)%nlocal))
17 call da_allocate_obs_info(iv,chemic_surf)
19 if (trace_use) call da_trace_exit("da_allocate_observations_chem_sfc")
21 end subroutine da_allocate_observations_chem_sfc