PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
Classes | Namespaces | Functions
projection.hh File Reference
#include <string>
#include <array>
#include "pism/util/Units.hh"
#include "pism/util/VariableMetadata.hh"

Go to the source code of this file.

Classes

class  pism::MappingInfo
 
class  pism::LonLatCalculator
 

Namespaces

 pism
 
 pism::array
 

Functions

VariableMetadata pism::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. More...
 
void pism::check_consistency_epsg (const MappingInfo &info)
 Check consistency of the "mapping" variable with the EPSG code in the proj string. More...
 
MappingInfo pism::get_projection_info (const File &input_file, const std::string &mapping_name, units::System::Ptr unit_system)
 Get projection info from a file. More...
 
void pism::compute_longitude (const std::string &projection, array::Scalar &result)
 
void pism::compute_latitude (const std::string &projection, array::Scalar &result)
 
void pism::compute_lon_bounds (const std::string &projection, array::Array3D &result)
 
void pism::compute_lat_bounds (const std::string &projection, array::Array3D &result)