Struggling to understand how NetCDF works, exactly

Hello,

I’m struggling to understand how does ImageMosaic work with NetCDF.

Suppose I have a NetCDF with temperature variable. That variable depends on latitude/longitude dimensions. This corresponds to a 2D GeoTIFF image.

So with ImageMosaic I can parametrize a list of such geotiff/netcdf files by their name, parsing fields with regex.

So far so good.

But now the NetCDF file itself can have a time variable and temperature can also depend on time. This isn’t parametrized by file name, but by the internal NetCDF variables. How can I specify that in indexer/auxiliary files?

What if the NetCDF contains also something like elevation which depends on latitude/longitude but describes a completely different thing that temperature?

Also, is time variable available in CQL filters so that I can see individual 2D temperature slices by varying my query?

Best,
Przemek

Have a look at this training material, it might help understanding:

https://geoserver.geosolutionsgroup.com/edu/en/multidim/intro/intro.html

Cheers
Andrea

1 Like

Thank you!