ocssw
V2022
|
Variable.hpp
Go to the documentation of this file.
56 // // std::cout << "In FP is_fill_value: std::abs(" << value << " - " << fill_value_ << ") = " << (std::abs(value - fill_value_) < 0.001) << "\n";
85 std::unordered_map<std::string, std::string>::const_iterator attributes_begin() const {return attributes_.begin();}
86 std::unordered_map<std::string, std::string>::const_iterator attributes_end() const {return attributes_.end();}
184 OcGeospatialType geo_type_{OcGeospatialType::Yes}; // only FileReaders will be making data not based on a DataRecord, which makes them geospatial by nature
227 void fill_value(std::unique_ptr<VariableFill<T>>&& fill_value) { fill_value_ = std::move(fill_value); }
228 void fill_value(const T& fill_value) { fill_value_ = std::make_unique<VariableFillValue<T>>(fill_value); }
260 // template<typename T, typename std::enable_if<!std::is_arithmetic<T>::value>::type* = nullptr>
261 template<typename TT, typename std::enable_if<std::is_same<TT, double>::value>::type* = nullptr>
273 template<typename TT, typename std::enable_if<std::is_same<TT, long double>::value>::type* = nullptr>
@ Double
std::vector< std::pair< std::string, size_t > > dimensions_
Definition: Variable.hpp:183
void apply_scaling(TT *v, const size_t count)
Definition: Variable.hpp:262
std::unordered_map< std::string, std::string > attributes_
Definition: Variable.hpp:182
@ Uint64
MOD_PR03 Production as they are both run by PGE01 It processes every granule that MOD_PR01 produces See MOD_PR01_pr txt for the actual timing since they are imposed by MOD_PR01 s needs
Definition: MOD_PR03_pr.txt:7
@ Int32
@ Uint8
@ String
virtual void rotate(const size_t number_of_lines) override
Definition: Variable.hpp:307
void fill_value(std::unique_ptr< VariableFill< T >> &&fill_value)
Definition: Variable.hpp:227
Definition: Variable.hpp:76
bool matches(const BaseVariable &needs) const
Definition: Variable.hpp:104
std::unordered_map< std::string, std::string >::const_iterator attributes_begin() const
Definition: Variable.hpp:85
bool matches(const std::vector< Product > &other) const
Definition: Product.hpp:337
@ Unknown
Definition: Variable.hpp:199
Definition: Variable.hpp:27
@ LongDouble
@ Int16
subroutine os(tamoy, trmoy, pizmoy, tamoyp, trmoyp, palt, phirad, nt, mu, np, rm, gb, rp, xl)
Definition: 6sm1.f:5484
Definition: Product.hpp:303
std::unordered_map< std::string, std::string >::const_iterator attributes_end() const
Definition: Variable.hpp:86
@ Int64
BaseVariable()=default
Definition: Variable.hpp:66
@ Int8
void geospatial(OcGeospatialType geo_type)
Definition: Variable.hpp:110
void scaler(std::unique_ptr< VariableScaler< T >> &&scaler)
Definition: Variable.hpp:230
virtual void rotate(const size_t number_of_lines)
Definition: Variable.hpp:112
std::vector< typename NVector< T, Dims-1 >::type > type
Definition: Variable.hpp:189
virtual size_t dimension_count() const
Definition: Variable.hpp:107
no change in intended resolving MODur00064 Corrected handling of bad ephemeris attitude data
Definition: HISTORY.txt:356
Definition: Variable.hpp:44
std::unique_ptr< VariableFill< T > > fill_value_
Definition: Variable.hpp:330
@ Uint32
Definition: Variable.hpp:188
std::ostream & operator<<(std::ostream &out, const SensorDirectory &in)
@ Char
Definition: Variable.hpp:33
Definition: Variable.hpp:50
SlopeInterceptScaler(double slope, double intercept)
Definition: Variable.hpp:35
@ Float
VariableFillRange(T min, T max)
Definition: Variable.hpp:68
Definition: DataProvider.hpp:16
@ Uint16