All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.meteoinfo.data.meteodata.StationModelData Maven / Gradle / Ivy

There is a newer version: 3.8
Show newest version
/* Copyright 2012 Yaqiang Wang,
 * [email protected]
 * 
 * This library is free software; you can redistribute it and/or modify it
 * under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation; either version 2.1 of the License, or (at
 * your option) any later version.
 * 
 * This library is distributed in the hope that it will be useful, but
 * WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Lesser
 * General Public License for more details.
 */
package org.meteoinfo.data.meteodata;

import org.meteoinfo.common.Extent;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author yaqiang
 */
public class StationModelData {
    // 

    private List _data = new ArrayList<>();
    private Extent _dataExtent = new Extent();
    private double _missingValue = -9999.0;
    // 
    // 
    // 
    // 

    /**
     * Get data
     *
     * @return Data
     */
    public List getData() {
        return _data;
    }

    /**
     * Set data
     *
     * @param value Data
     */
    public void setData(List value) {
        _data = value;
    }

    /**
     * Get data extent
     *
     * @return Data extent
     */
    public Extent getDataExtent() {
        return _dataExtent;
    }

    /**
     * Set data extent
     *
     * @param value Data extent
     */
    public void setDataExtent(Extent value) {
        _dataExtent = value;
    }

    /**
     * Get missing data
     *
     * @return Missing data
     */
    public double getMissingValue() {
        return _missingValue;
    }

    /**
     * Set missing data
     *
     * @param value Missing data
     */
    public void setMissingValue(double value) {
        _missingValue = value;
    }

    /**
     * Get data number
     *
     * @return Data number
     */
    public int getDataNum() {
        return _data.size();
    }
    // 
    // 
    // 
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy