20 #ifndef _PROJECTION_H_
21 #define _PROJECTION_H_
High-level PISM I/O class.
A virtual class collecting methods common to ice and bedrock 3D fields.
MappingInfo(const std::string &mapping_name, units::System::Ptr unit_system)
std::shared_ptr< System > Ptr
VariableMetadata epsg_to_cf(units::System::Ptr system, const std::string &proj_string)
Return CF-Convention "mapping" variable corresponding to an EPSG code specified in a PROJ string.
void check_consistency_epsg(const MappingInfo &info)
Check consistency of the "mapping" variable with the EPSG code in the proj string.
void compute_lon_bounds(const std::string &projection, IceModelVec3 &result)
void compute_latitude(const std::string &projection, IceModelVec2S &result)
MappingInfo get_projection_info(const File &input_file, const std::string &mapping_name, units::System::Ptr unit_system)
Get projection info from a file.
void compute_longitude(const std::string &projection, IceModelVec2S &result)
void compute_lat_bounds(const std::string &projection, IceModelVec3 &result)