%if TIME = ANY %and DATE <> ANY %then
   %set TIME = 12

%if TIME = ANY %then
   %unset RESOLUTION_IN_MINS

%if LOCATION_FILTER = NONE %then
   %unset AREA
   %unset LINE
   %unset DELTA_IN_KM

%if LOCATION_FILTER = AREA %then
   %unset LINE
   %unset DELTA_IN_KM

%if LOCATION_FILTER = LINE %then
   %unset AREA

%if CUSTOM_FILTER = NONE %then
   %unset CUSTOM_PARAMETER
   %unset CUSTOM_VALUES

#-- OUTPUT=0:  0=BUFR
#-- OUTPUT<>0: 1=GEOPOINTS, 2=POLAR_VECTOR, 3=XY_VECTOR, 4=CSV

%if OUTPUT = 0 %then
   %unset PARAMETER
   %unset MISSING_DATA
   %unset MISSING_DATA_VALUE
   %unset LEVEL
   %unset LEVEL_DESCRIPTOR
   %unset FIRST_LEVEL
   %unset SECOND_LEVEL
   %unset OCCURRENCE_INDEX

%if (OUTPUT <> 0 ) %and MISSING_DATA = IGNORE %then
   %unset MISSING_DATA_VALUE

%if (OUTPUT <> 0) %and LEVEL = SURFACE %then
   %unset LEVEL_DESCRIPTOR
   %unset FIRST_LEVEL
   %unset SECOND_LEVEL
   %unset OCCURRENCE_INDEX

%if (OUTPUT <> 0) %and LEVEL = SINGLE %then
   %unset LEVEL_DESCRIPTOR
   %unset SECOND_LEVEL
   %unset OCCURRENCE_INDEX

%if (OUTPUT <> 0) %and LEVEL = THICKNESS %then
    %unset LEVEL_DESCRIPTOR
    %unset OCCURRENCE_INDEX

%if (OUTPUT <> 0) %and LEVEL = OCCURRENCE %then
   %unset LEVEL_DESCRIPTOR
   %unset FIRST_LEVEL
   %unset SECOND_LEVEL

%if (OUTPUT <> 0) %and LEVEL = DESCRIPTOR_VALUE %then
   %unset OCCURRENCE_INDEX 
   %unset SECOND_LEVEL

%if (OUTPUT <> 0) %and LEVEL = DESCRIPTOR_RANGE %then
   %unset OCCURRENCE_INDEX 

