|
ARTS
2.4.0(git:4fb77825)
|
Tests for TELSEM2 interface. More...
#include <fstream>#include <iostream>#include <memory>#include <string>#include "arts.h"#include "telsem.h"Go to the source code of this file.
Functions | |
| Numeric | test_telsem_interpolate (std::string atlas_file, std::string result_path, Numeric resolution, Numeric theta, Vector frequencies) |
| Test reading of TELSEM emissivity interpolation. More... | |
| Numeric | test_telsem_read (String atlas_file, String result_path, Numeric resolution) |
| Test reading of TELSEM emissivities. More... | |
| int | main (int argc, const char **argv) |
| int main | ( | int | argc, |
| const char ** | argv | ||
| ) |
Definition at line 203 of file test_telsem.cc.
References test_telsem_interpolate(), and test_telsem_read().
| Numeric test_telsem_interpolate | ( | std::string | atlas_file, |
| std::string | result_path, | ||
| Numeric | resolution, | ||
| Numeric | theta, | ||
| Vector | frequencies | ||
| ) |
Test reading of TELSEM emissivity interpolation.
This function tests the interpolation of TELSEM emissivities by comparison with the results from the test that is included in the fortran module.
| atlas_file | The path to the atlas file which was used in the FORTRAN module tests |
| result_path | The folder containing the results of the FORTRAN module tests |
| resolution | The resolution to use for the lat/lon map. |
| theta | The incidence angle to which to interpolate the frequencies. |
| frequencies | The frequencies [GHz] (!!!) for which to interpolate the emissivities |
Definition at line 49 of file test_telsem.cc.
References TelsemAtlas::calc_cellnum(), ARTS::Var::lat(), ARTS::Var::lon(), and ConstVectorView::nelem().
Referenced by main().
Test reading of TELSEM emissivities.
This function tests the reading of the telsem atlas by creating a lat/lon map of emissivities in the atlas and comparing with the results from the test that is included in the fortran module.
| atlas_file | The path to the atlas file which was used in the FORTRAN module tests |
| result_path | The folder containing the results of the FORTRAN module tests |
| resolution | The resolution used to generate the lat/lon map. |
Definition at line 139 of file test_telsem.cc.
References TelsemAtlas::calc_cellnum(), ARTS::Var::lat(), and ARTS::Var::lon().
Referenced by main().