"Fossies" - the Fresh Open Source Software Archive

Member "fimex-1.4.1/src/GribApiCDMWriter_Impl1.h" (30 Oct 2019, 1656 Bytes) of package /linux/privat/fimex-1.4.1.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "GribApiCDMWriter_Impl1.h" see the Fossies "Dox" file reference documentation.

    1 /*
    2  * Fimex
    3  *
    4  * (C) Copyright 2008, met.no
    5  *
    6  * Project Info:  https://wiki.met.no/fimex/start
    7  *
    8  * This library is free software; you can redistribute it and/or modify it
    9  * under the terms of the GNU Lesser General Public License as published by
   10  * the Free Software Foundation; either version 2.1 of the License, or
   11  * (at your option) any later version.
   12  *
   13  * This library is distributed in the hope that it will be useful, but
   14  * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
   15  * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
   16  * License for more details.
   17  *
   18  * You should have received a copy of the GNU Lesser General Public
   19  * License along with this library; if not, write to the Free Software
   20  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301,
   21  * USA.
   22  */
   23 
   24 #ifndef GRIBAPICDMWRITER_IMPL1_H_
   25 #define GRIBAPICDMWRITER_IMPL1_H_
   26 
   27 #include "GribApiCDMWriter_ImplAbstract.h"
   28 
   29 namespace MetNoFimex
   30 {
   31 
   32 /**
   33  * Implemenationn of a writer using GribApi for grib1
   34  *
   35  */
   36 class GribApiCDMWriter_Impl1: public MetNoFimex::GribApiCDMWriter_ImplAbstract
   37 {
   38 public:
   39         GribApiCDMWriter_Impl1(CDMReader_p cdmReader, const std::string& outputFile, const std::string& configFile);
   40     virtual ~GribApiCDMWriter_Impl1();
   41 
   42     virtual void setParameter(const std::string& varName, double levelValue);
   43     virtual void setProjection(const std::string& varName);
   44     virtual void setLevel(const std::string& varName, double levelValue);
   45     virtual DataPtr handleTypeScaleAndMissingData(const std::string& varName, double levelValue, DataPtr inData);
   46 
   47 };
   48 
   49 }
   50 
   51 #endif /* GRIBAPICDMWRITER_IMPL1_H_ */