Re: [Geoserver-users] NetCDF data with 2D coordinate variables

2023-05-05 Thread Amirhossein Nikfal
Okay, got it. However: Quoting the documentations: > Two-dimension coordinate variables are exposed in GeoServer as single > dimensions. Their domain is exposed in GetCapabilities as a flat list of > possible values. > Should I expose their domain by myself? So they can be exposed as single dime

Re: [Geoserver-users] NetCDF data with 2D coordinate variables

2023-05-05 Thread Amirhossein Nikfal
I think it is clearly mentioned in the documentation that NetCDF with 2D lat/lon are supported by GeoServer: https://docs.geoserver.org/stable/en/user/extensions/netcdf/netcdf.html#two-dimensional-coordinate-variables I am looking for a sample NetCDF datafile with 2D coordinates (mentioned in docu

Re: [Geoserver-users] NetCDF data with 2D coordinate variables

2023-05-05 Thread Andrea Aime
Quoting the documentation: There is limited support for coordinate variables with two dimensions (see Two-Dimensional Coordinate Variables), as part of the result of an aggregation (such as time,runtime - in the case of a runtime aggregation). Two dimensional non-independent latitude-longitude coo

Re: [Geoserver-users] NetCDF data with 2D coordinate variables

2023-05-05 Thread Andrea Aime
Ah, it's an irregular grid then, each entry of the array is mapped to its own independent point? No, as far as I know GeoServer has no support for it, regardless of the format (nothing specific to NetCDF). Where did you read those are supported? I has trouble understanding what you meant so far, i

Re: [Geoserver-users] NetCDF data with 2D coordinate variables

2023-05-05 Thread Amirhossein Nikfal
Thank you very much for the data. However, the file (sst.nc) you sent had 1D coordinates. These kinds of coordinates are okay in GeoServer: lat_1D: float32 lat(y) lon_1D: float32 lon(x) The latitudes and longitudes in a 2D NetCDF data have 2D shapes, and they depend on both the x and y axis. They

Re: [Geoserver-users] NetCDF data with 2D coordinate variables

2023-05-04 Thread Andrea Aime
On Thu, May 4, 2023 at 3:09 PM Amirhossein Nikfal wrote: > Well actually in the documentation > > it has been mentioned that GeoServer can handle NetCDF data with 2D > coordinates (latit

Re: [Geoserver-users] NetCDF data with 2D coordinate variables

2023-05-04 Thread Amirhossein Nikfal
Well actually in the documentation it has been mentioned that GeoServer can handle NetCDF data with 2D coordinates (latitudes/longitudes). I just want a sample NetCDF data with 2D coordina

Re: [Geoserver-users] NetCDF data with 2D coordinate variables

2023-05-04 Thread Andrea Aime
Hi, I believe the NetCDF reader can handle only scalar variables.. they can have many dimensions (lon, lat, time, elevation, and custom ones), but if your variable contains, say, a vector, magnitude and direction for each point, then no, the reader does not support it. Best regards Andrea On Tue,

[Geoserver-users] NetCDF data with 2D coordinate variables

2023-05-02 Thread Amirhossein Nikfal
Dear fellows, I have problems with storing NetCDF files with 2D coordinates. NetCDF files with 1D variables can be stored without problem. Would you please introduce a sample 2D NetCDF data file that can be stored by GeoServer? Best, Amirhossein PS: Bellow are the errors after trying to store t