Repository navigation
Write a coverage in netCDF - #100
Merged
Merged
Conversation
A coverage is negotiated as netCDF through application/x-netcdf, the media type /req/netcdf/coverage of OGC API - Coverages states, and written by MobilityDB's asGDALRaster in GDAL's netCDF format; the collection links its coverage in that encoding beside GeoTIFF and CoverageJSON, and the class netcdf of the Coverages draft is declared. The netCDF document names its dimensions lon and lat, or x and y in a projected system, each with a netCDF standard name, and a coverage of one period has no time dimension, so no dimension falls under the rule naming a variable after the collection's extent. Witness: TestLiveRasterCollection asks the January coverage and its bbox clip as netCDF and reads the answer's media type, the netCDF signature, and the width and height MobilityDB reads back from it. Measured: on MobilityDB master before its writer wrote a format whose library writes only to a file, asGDALRaster(r, 'netCDF') answered no document; with it, the coverage of January reads back as its 4 x 2 grid and the clip as its 2 x 2.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A coverage is negotiated as netCDF through application/x-netcdf, the
media type /req/netcdf/coverage of OGC API - Coverages states, and
written by MobilityDB's asGDALRaster in GDAL's netCDF format; the
collection links its coverage in that encoding beside GeoTIFF and
CoverageJSON, and the class netcdf of the Coverages draft is declared.
The netCDF document names its dimensions lon and lat, or x and y in a
projected system, each with a netCDF standard name, and a coverage of
one period has no time dimension, so no dimension falls under the rule
naming a variable after the collection's extent.
Witness: TestLiveRasterCollection asks the January coverage and its
bbox clip as netCDF and reads the answer's media type, the netCDF
signature, and the width and height MobilityDB reads back from it.
Measured: on MobilityDB master before its writer wrote a format whose
library writes only to a file, asGDALRaster(r, 'netCDF') answered no
document; with it, the coverage of January reads back as its 4 x 2
grid and the clip as its 2 x 2.