Subroutine gdf_setuv verifies and finalizes a UV header. It computes the secondary parameters %nlead, %ntrail, %fcol and %lcol from the primary information present in %column_pointer, %column_size, %nchan and %nstokes. It also verifies the conformance to the programming restrictions.
interface
subroutine gdf_setuv (hx,error)
use image_defgrep
use gbl_message
!---------------------------------------------------------------------
! @ public
! Define the UV section consistently.
! It could also define the column_types and column_codes if needed
!---------------------------------------------------------------------
type(gildas), intent(inout) :: hx
logical, intent(out) :: error
end subroutine gdf_setuv
end interface