148 if(interp%horizInterpReals8_type%is_allocated)
then
149 if(
allocated(interp%horizInterpReals8_type%rat_x))
deallocate ( interp%horizInterpReals8_type%rat_x )
150 if(
allocated(interp%horizInterpReals8_type%rat_y))
deallocate ( interp%horizInterpReals8_type%rat_y )
151 if(
allocated(interp%horizInterpReals8_type%lon_in))
deallocate ( interp%horizInterpReals8_type%lon_in )
152 if(
allocated(interp%horizInterpReals8_type%lat_in))
deallocate ( interp%horizInterpReals8_type%lat_in )
153 if(
allocated(interp%horizInterpReals8_type%wti))
deallocate ( interp%horizInterpReals8_type%wti )
154 else if(interp%horizInterpReals4_type%is_allocated)
then
155 if(
allocated(interp%horizInterpReals4_type%rat_x))
deallocate ( interp%horizInterpReals4_type%rat_x )
156 if(
allocated(interp%horizInterpReals4_type%rat_y))
deallocate ( interp%horizInterpReals4_type%rat_y )
157 if(
allocated(interp%horizInterpReals4_type%lon_in))
deallocate ( interp%horizInterpReals4_type%lon_in )
158 if(
allocated(interp%horizInterpReals4_type%lat_in))
deallocate ( interp%horizInterpReals4_type%lat_in )
159 if(
allocated(interp%horizInterpReals4_type%wti))
deallocate ( interp%horizInterpReals4_type%wti )
161 if(
allocated(interp%i_lon) )
deallocate( interp%i_lon )
162 if(
allocated(interp%j_lat) )
deallocate( interp%j_lat )
164 interp%horizInterpReals8_type%is_allocated = .false.
165 interp%horizInterpReals4_type%is_allocated = .false.