TECA
The Toolkit for Extreme Climate Analysis
teca_cartesian_mesh_reader_factory Struct Reference

A factory for Cartesian mesh readers. More...

#include <teca_cartesian_mesh_reader_factory.h>

Static Public Member Functions

static p_teca_algorithm New (const std::string &file)
 

Detailed Description

A factory for Cartesian mesh readers.

Member Function Documentation

◆ New()

static p_teca_algorithm teca_cartesian_mesh_reader_factory::New ( const std::string &  file)
static

creates and initialized a reader from a given file name or regular expression. the file extension is examined, to determine the type of reader to create. the supported extentsions and the associated readers are as follows:

 bin -- teca_cartesian_mesh_reader
 nc  -- teca_cf_reader
 mcf -- teca_multi_cf_reader

returns a new instance of the reader with the file or regex set or a nullptr if an error is encountered


The documentation for this struct was generated from the following file: