Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Add proj keyword to exportcube, to add the CRS #124

Merged
merged 4 commits into from
Aug 23, 2019

Conversation

felixcremer
Copy link
Member

This will add a proj keyword to the exportcube function, so that the generated netCDF file will have crs information.
I am not happy, that the user would have to add a Dictonary with all of the CRS information, either this should be generated internally from a WKT or Proj string or the CRS information should be included into the metadata of the cube.

I am  trying to add the possibility to add a projection to the data
cube.
I first wanted to test this with a fixed projection.
This would help in using non epsg:4326 projected datacubes, because we
can already include them, but the spatial coordinate reference system
gets lost in the datacube.
This adds the possibility to add a projection to exportcube.
The exportcube function assumes, that you put in a dict with the
attributes of the crs.
The added projection is only for test purposes and will be removed.
@codecov-io
Copy link

Codecov Report

Merging #124 into master will increase coverage by 0.04%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #124      +/-   ##
==========================================
+ Coverage   46.58%   46.63%   +0.04%     
==========================================
  Files          24       24              
  Lines        2183     2185       +2     
==========================================
+ Hits         1017     1019       +2     
  Misses       1166     1166
Impacted Files Coverage Δ
src/Proc/CubeIO.jl 81.66% <100%> (+0.63%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4a860bf...5097537. Read the comment docs.

@meggart meggart merged commit 22e13ff into JuliaDataCubes:master Aug 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants