I am looking for the best way to query a netCDF file - I would like to eventually expose this to an API to be consumed by a web service.

I would use SQL which I have experience in but I think its probably going to be resource heavy. I have looked into geoserver but I dont see any documentation on query this type of information only serving WMS tiles.

I have a grid of temperatures at different depths, I would like to for a given lat / lng find the nearest source (looking at just ground distance not vertical) of water at a certain temperature. For example lat 30.083 / lng -14.5 find the nearest location of water at 20c.

My data has an array of data points for depths from 5 to 5000m the query will need to return the lat / lng and depth.

  • 2
    You can do that with a range of tools. If you've got a lot of it, load it up into a specialist store like THREDDS and do the queries using NCO or NCL (see unidata.ucar.edu/software/netcdf/software.html#NCL and browse for whatever tools you like). – BradHards Sep 19 '17 at 10:17
  • Thanks @BradHards I will explore THREDDS in more depth - it looks like a good too l to do this – RedCrusador Sep 19 '17 at 11:04
  • surely a WCS query would be better than a WMS for this – Ian Turton Sep 19 '17 at 11:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.