Hi Geoserver user list
Does anyone know if you can upload a single NetCDF file with custom
dimensions, similar to the ImageMosaic?
I read that "The NetCDF reader supports an indexer file which is a simplified
version of the indexer [.. of the] ImageMosaic"
So I think you can exclude or change the coverage names with this indexer, but
not define custom dimensions?
For example, compare the indexer schema of the NetCDF reader
(https://geoserver.geo-solutions.it/edu/en/multidim/netcdf/netcdf_indexer.html#netcdf-indexer-file)
with the indexer schema of the ImageMosaic:
https://geoserver.geo-solutions.it/edu/en/multidim/imagemosaic/mosaic_indexer.html#imagemosaic-indexer-xml-schema
Our purpose is to upload a netcdf with (lat,lon) and custom dimensions
(year,season), because we want to be able to select a certain year and certain
season, or for example loop through all the years of a particular season.
Ncdump:
netcdf log_cal_fin {
dimensions:
lon = 951 ;
lat = 401 ;
time = 236 ;
nv = 2 ;
season = 4 ;
year = 59 ;
variables:
double lon(lon) ;
lon:units = "degrees_east" ;
lon:standard_name = "longitude" ;
lon:long_name = "longitude" ;
double lat(lat) ;
lat:units = "degrees_north" ;
lat:standard_name = "latitude" ;
lat:long_name = "latitude" ;
double time(time) ;
time:units = "days since 1900-01-01 00:00:00" ;
time:standard_name = "time" ;
time:long_name = "time" ;
time:calendar = "standard" ;
time:climatology = "climatology_bounds" ;
double climatology_bounds(time, nv) ;
climatology_bounds:units = "days since 1900-01-01 00:00:00" ;
int64 season(season) ;
season:units = "season" ;
season:standard_name = "season" ;
season:long_name = "season number (1: months 1-3; 2: months
4-6; 3: months 7-9; 4: months 10-12)" ;
int64 year(year) ;
year:units = "year" ;
year:standard_name = "year" ;
year:long_name = "year" ;
float log_cal_fin(year, season, lat, lon) ;
log_cal_fin:units = "logab" ;
log_cal_fin:standard_name = "log_cal_fin" ;
log_cal_fin:long_name = "log cal fin" ;
log_cal_fin:_FillValue = 9.96921e+36f ;
log_cal_fin:missing_value = 9.96921e+36f ;
log_cal_fin:cell_methods = "time: mean within years time: mean
over years" ;
}
Thanks a lot!
Lennert Schepers_______________________________________________
Geoserver-users mailing list
Please make sure you read the following two resources before posting to this
list:
- Earning your support instead of buying it, but Ian Turton:
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines:
http://geoserver.org/comm/userlist-guidelines.html
If you want to request a feature or an improvement, also see this:
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users