001/*
002 *    GeoAPI - Java interfaces for OGC/ISO standards
003 *    Copyright © 2009-2023 Open Geospatial Consortium, Inc.
004 *    http://www.geoapi.org
005 *
006 *    Licensed under the Apache License, Version 2.0 (the "License");
007 *    you may not use this file except in compliance with the License.
008 *    You may obtain a copy of the License at
009 *
010 *        http://www.apache.org/licenses/LICENSE-2.0
011 *
012 *    Unless required by applicable law or agreed to in writing, software
013 *    distributed under the License is distributed on an "AS IS" BASIS,
014 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
015 *    See the License for the specific language governing permissions and
016 *    limitations under the License.
017 */
018package org.opengis.metadata.acquisition;
019
020import org.opengis.annotation.UML;
021import org.opengis.util.InternationalString;
022
023import static org.opengis.annotation.Obligation.*;
024import static org.opengis.annotation.Specification.*;
025
026
027/**
028 * Information about the environmental conditions during the acquisition.
029 *
030 * @author  Cédric Briançon (Geomatys)
031 * @version 3.0
032 * @since   2.3
033 */
034@UML(identifier="MI_EnvironmentalRecord", specification=ISO_19115_2)
035public interface EnvironmentalRecord {
036    /**
037     * Average air temperature along the flight pass during the photo flight.
038     *
039     * <div class="warning"><b>Upcoming API change — units of measurement</b><br>
040     * The return type of this method may change in GeoAPI 4.0. It may be replaced by the
041     * {@link javax.measure.quantity.Temperature} type in order to provide unit of measurement
042     * together with the value.
043     * </div>
044     *
045     * @return average air temperature along the flight pass during the photo flight.
046     */
047    @UML(identifier="averageAirTemperature", obligation=MANDATORY, specification=ISO_19115_2)
048    Double getAverageAirTemperature();
049
050    /**
051     * Maximum relative humidity along the flight pass during the photo flight.
052     *
053     * <div class="warning"><b>Upcoming API change — units of measurement</b><br>
054     * The return type of this method may change in GeoAPI 4.0. It may be replaced by the
055     * {@link javax.measure.quantity.Dimensionless} type in order to provide unit of measurement
056     * together with the value.
057     * </div>
058     *
059     * @return maximum relative humidity along the flight pass during the photo flight.
060     */
061    @UML(identifier="maxRelativeHumidity", obligation=MANDATORY, specification=ISO_19115_2)
062    Double getMaxRelativeHumidity();
063
064    /**
065     * Maximum altitude during the photo flight.
066     *
067     * <div class="warning"><b>Upcoming API change — units of measurement</b><br>
068     * The return type of this method may change in GeoAPI 4.0. It may be replaced by the
069     * {@link javax.measure.quantity.Length} type in order to provide unit of measurement
070     * together with the value.
071     * </div>
072     *
073     * @return maximum altitude during the photo flight.
074     */
075    @UML(identifier="maxAltitude", obligation=MANDATORY, specification=ISO_19115_2)
076    Double getMaxAltitude();
077
078    /**
079     * Meteorological conditions in the photo flight area, in particular clouds, snow and wind.
080     *
081     * @return meteorological conditions in the photo flight area.
082     */
083    @UML(identifier="meteorologicalConditions", obligation=MANDATORY, specification=ISO_19115_2)
084    InternationalString getMeteorologicalConditions();
085}