WSL/SLF GitLab Repository

Commit 1259812b authored by Mathias Bavay's avatar Mathias Bavay
Browse files

oups, the previous commit contained a debug hack...

parent feb92516
......@@ -68,11 +68,8 @@ namespace IOUtils {
const double lon_epsilon = grid_epsilon / Cst::earth_R0 * Cst::to_deg; ///<in degrees. Small angle for longitudes, so sin(x)=x
const double lat_epsilon = lon_epsilon; ///<in degrees. Small angle for latitudes.
/*inline double C_TO_K(const double& T) {return ((T==nodata)? T : T + Cst::t_water_freezing_pt);}
inline double K_TO_C(const double& T) {return ((T==nodata)? T : T - Cst::t_water_freezing_pt);}*/
inline double C_TO_K(const double& T) {return (T + Cst::t_water_freezing_pt);}
inline double K_TO_C(const double& T) {return (T - Cst::t_water_freezing_pt);}
inline double C_TO_K(const double& T) {return ((T==nodata)? T : T + Cst::t_water_freezing_pt);}
inline double K_TO_C(const double& T) {return ((T==nodata)? T : T - Cst::t_water_freezing_pt);}
/**
* @brief Check whether two values are equal regarding a certain epsilon environment (within certain radius of each other)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment