WSL/SLF GitLab Repository

Skip to content
Snippets Groups Projects
Commit 2310ab42 authored by Mathias Bavay's avatar Mathias Bavay
Browse files

The newest view of IMIS has been updated into IMISIO, some comments on ArcGIS...

The newest view of IMIS has been updated into IMISIO, some comments on ArcGIS World File have been added into ARCIO.
parent 8da3e42a
No related branches found
No related tags found
No related merge requests found
......@@ -90,6 +90,17 @@ namespace mio {
* - DAPATH: path+prefix of file containing data assimilation grids (named with ISO 8601 basic date and .sca extension, example ./input/dagrids/sdp_200812011530.sca)
*/
/* World file format: This is the geolocalization file going alongside graphics output (tiff, png, jpg) By convention,
the file has the same name as the image file, with the third letter of the extension jammed with a w: tif->tfw, jpg->jqw.
The format is the following:
5.000000000000 (size of pixel in x direction)
0.000000000000 (rotation term for row)
0.000000000000 (rotation term for column)
-5.000000000000 (size of pixel in y direction)
492169.690845528910 (x coordinate of centre of upper left pixel in map units)
5426523.318065105000 (y coordinate of centre of upper left pixel in map units)
*/
ARCIO::ARCIO(void (*delObj)(void*), const std::string& filename) : IOInterface(delObj), cfg(filename)
{
IOUtils::getProjectionParameters(cfg, coordin, coordinparam, coordout, coordoutparam);
......
......@@ -51,7 +51,7 @@ ENDIF(PLUGIN_SMETIO)
IF(PLUGIN_ARCIO)
ADD_LIBRARY(${ARCIONAME} ARCIO.cc)
SET_TARGET_PROPERTIES(${SMETIONAME} PROPERTIES LINKER_LANGUAGE C)
SET_TARGET_PROPERTIES(${ARCIONAME} PROPERTIES LINKER_LANGUAGE C)
TARGET_LINK_LIBRARIES(${ARCIONAME} ${SHAREDNAME})
SET_TARGET_PROPERTIES(${ARCIONAME} PROPERTIES
LIBRARY_OUTPUT_DIRECTORY ${PROJECT_SOURCE_DIR}/lib
......
......@@ -50,7 +50,7 @@ namespace mio {
const double ImisIO::plugin_nodata = -999.0; //plugin specific nodata value
const string ImisIO::sqlQueryMeteoData = "SELECT to_char(datum, 'YYYY-MM-DD HH24:MI') as datum, avg(ta) as ta, avg(iswr) as iswr, avg(vw) as vw, avg(dw) as dw, avg(rh) as rh, avg(ilwr) as ilwr, avg(hnw) as hnw, avg(tsg) as tsg, avg(tss) as tss, avg(hs) as hs, avg(rswr) as rswr from ams.v_amsio WHERE stat_abk=:1 and stao_nr=:2 and datum>=:3 and datum<=:4 group by datum order by datum asc";
const string ImisIO::sqlQueryMeteoData = "SELECT to_char(datum, 'YYYY-MM-DD HH24:MI') as datum, avg(ta) as ta, avg(iswr) as iswr, avg(vw) as vw, avg(dw) as dw, avg(rh) as rh, avg(ilwr) as ilwr, avg(hnw) as hnw, avg(tsg) as tsg, avg(tss) as tss, avg(hs) as hs, avg(rswr) as rswr from ams.v_ams_raw WHERE stat_abk=:1 and stao_nr=:2 and datum>=:3 and datum<=:4 group by datum order by datum asc";
const string ImisIO::sqlQueryStationData = "SELECT stao_name,stao_x,stao_y,stao_h from station2.standort WHERE stat_abk like :1 AND stao_nr=:2";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment