metno / diana Goto Github PK
View Code? Open in Web Editor NEWmeteorological visualisation and production software
meteorological visualisation and production software
When trying to build (LinuxMint 20, cmake 3.16) it throws this error:
CMake Error at CMakeLists.txt:466 (METNO_HEADERS):
Unknown CMake command "METNO_HEADERS".
(both with master branch as well as tag 3.40.0a1-1)
How would I fix this?
In line https://github.com/metno/diana/blob/master/src/miRaster/satgeotiff.cc#L368 and following the projection information from a geotiff file is read.
I have a file here ( this might disappear, but all *.tif
files in this directory should have the same behaviour:
/lustre/storeB/project/metproduction/products/satdata_polar/production/antenna-viirs-mitiff/natural_color_sun_20220630_090501.tif
And Diana reports:
2022-06-30 09:41:16,776 ERROR metno.GeoTiff.head_diana: Projection CT 9815 not yet supported
2022-06-30 09:41:16,776 ERROR diana.GEOtiff.readGEOtiffHeader: GEOTIFF_head_diana returned false:/lustre/storeB/project/metproduction/products/satdata_polar/production/antenna-viirs-mitiff/natural_color_sun_20220630_090501.tif
2022-06-30 09:41:16,776 ERROR metno.GeoTiff.head_diana: Projection CT 9815 not yet supported
2022-06-30 09:41:16,776 ERROR diana.GEOtiff: GEOTIFF_read_diana returned false:/lustre/storeB/project/metproduction/products/satdata_polar/production/antenna-viirs-mitiff/natural_color_sun_20220630_090501.tif
2022-06-30 09:41:16,776 ERROR diana.SatManager.setData: Failed readSatFile
What I want is DIANA to read the proj4 information out of this geotiff file.
gdalsrsinfo /lustre/storeB/project/metproduction/products/satdata_polar/production/antenna-viirs-mitiff/natural_color_sun_20220630_090501.tif
PROJ.4 : '+proj=omerc +lat_0=0 +lonc=65.01172638348839 +alpha=-8.6347579930128 +k=1 +x_0=0 +y_0=0 +gamma=0 +a=6370997 +b=6370997 +units=m +no_defs '
OGC WKT :
PROJCS["unknown",
GEOGCS["unknown",
DATUM["Unknown_based_on_Normal_Sphere_r_6370997_ellipsoid",
SPHEROID["Normal Sphere (r=6370997)",6370997,0]],
PRIMEM["Greenwich",0],
UNIT["degree",0.0174532925199433]],
PROJECTION["Hotine_Oblique_Mercator_Azimuth_Center"],
PARAMETER["latitude_of_center",0],
PARAMETER["longitude_of_center",65.01172638348839],
PARAMETER["azimuth",-8.6347579930128],
PARAMETER["rectified_grid_angle",0],
PARAMETER["scale_factor",1],
PARAMETER["false_easting",0],
PARAMETER["false_northing",0],
UNIT["metre",1,
AUTHORITY["EPSG","9001"]]]
So the geotiff contains enough info to produce a proj4 string.
Any suggestion how solve this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.