anchor.diff:         
          ALLOCATE (lut_alt_lay(1:ansrf,1:anlay),   STAT=estat)
          ALLOCATE (lut_pre_lay(1:ansrf,1:anlay),   STAT=estat)
  -       ALLOCATE (lut_pre_lev_cld(1:ancld,1:anlev),   STAT=estat)
          ALLOCATE (lut_pre_lay_cld(1:ancld,1:anlay),   STAT=estat)
   
          ALLOCATE (lut_I0_clr(1:anozo,1:ansrf,1:anvza,1:ansza), STAT=estat)
  
positive.code:        lut_vza, lut_wavelength, lut_srf
    CHARACTER(LEN=5), DIMENSION(:),           ALLOCATABLE :: lut_toms
    REAL(KIND=r4),    DIMENSION(:,:),         ALLOCATABLE :: lut_alt_lay, lut_pre_lay, &
         lut_pre_lev_cld, lut_pre_lay_cld
    REAL(KIND=r4),    DIMENSION(:,:),         ALLOCATABLE :: lut_Sb_clr, lut_Sb_cld
    REAL(KIND=r4),    DIMENSION(:,:,:,:),     ALLOCATABLE :: lut_I0_clr, lut_I1_clr, lut_I2_clr, lut_Ir_clr, &
         lut_I0_cld, lut_I1_cld, lut_I2_cld, lut_Ir_cld
  
negative.code:        IF ( ALLOCATED ( lut_alt_lay ) ) DEALLOCATE ( lut_alt_lay )
         IF ( ALLOCATED ( lut_pre_lay ) ) DEALLOCATE ( lut_pre_lay )
         IF ( ALLOCATED ( lut_pre_lay_cld ) ) DEALLOCATE ( lut_pre_lay_cld )
         
         IF ( ALLOCATED ( lut_I0_clr ) ) DEALLOCATE ( lut_I0_clr )
         IF ( ALLOCATED ( lut_I1_clr ) ) DEALLOCATE ( lut_I1_clr )
  