I'm receiving NetCDF files hourly, and would like to update them and then refresh them (as the time steps and values change).

Within the API, I'm not sure which endpoint would be useful after reading the documentation: https://docs.geoserver.org/latest/en/user/rest/index.html

Looking through the documentation I'm unsure of the proper endpoint to call.

My end goal is the replacement of the file on the filesystem followed by a call to refresh the layer with the existing parameters.

1 Answer 1


The geoserver requires a few steps to do this:

  1. Manage the actual file on the remote location with end point


  2. You will need to create a CoverageStore using the end point


  3. Add the coverages for each variable in your netcdf from the coverage store using the end point


I was never able to update them so instead I checked whether all these steps already existed, if so deleted them and restart the process. resource.

If you are familiar with python, then you might find a project I did a couple years ago useful. It was used for exactly this. In this case we had a layer called latest we updated daily.


  • the github URL is throwing a 404.
    – sempervent
    Commented Feb 19, 2021 at 13:30
  • Unfortunately after I posted this that group took down the project. They would probably share it with you if you emailed and asked for it. Commented Feb 19, 2021 at 16:07

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.