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 | Enumerations | Functions
projection.cc File Reference
#include <cstdlib>
#include <cmath>
#include "pism/util/projection.hh"
#include "pism/util/VariableMetadata.hh"
#include "pism/util/error_handling.hh"
#include "pism/util/io/File.hh"
#include "pism/util/io/io_helpers.hh"
#include "pism/util/Grid.hh"
#include "pism/util/array/Scalar.hh"
#include "pism/util/array/Array3D.hh"
#include "pism/pism_config.hh"

Go to the source code of this file.

Classes

struct  pism::LonLatCalculator::Impl
 

Namespaces

 pism
 

Enumerations

enum  pism::LonLat { pism::LONGITUDE , pism::LATITUDE }
 

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_cell_areas (const std::string &projection, array::Scalar &result)
 
static void pism::compute_lon_lat (const std::string &projection, LonLat which, array::Scalar &result)
 
static void pism::compute_lon_lat_bounds (const std::string &projection, LonLat which, array::Array3D &result)
 
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)