Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to create a NetCDF data store ? #150

Open
jougisljs opened this issue May 3, 2024 · 1 comment
Open

How to create a NetCDF data store ? #150

jougisljs opened this issue May 3, 2024 · 1 comment

Comments

@jougisljs
Copy link

jougisljs commented May 3, 2024

Hi, thank your work .
I have a question .
After install NetCDF
on GeoServer .

How to use geoserver-rest create a NetCDF data store , then publish a netcdf Layer ?
thank you very much.

@jougisljs
Copy link
Author

jougisljs commented May 4, 2024

geo = Geoserver('http://localhost:8080/geoserver', username='admin', password='geoserver')

# workspace
workspace_name = 'testworkspace'
# nc store
path = r'E:\Argo\BOA\BOA_Argo_2024_02.nc'
result = geo.create_coveragestore(path, workspace_name, 'boa_argo_2024_02', 'NetCDF', 'image/tiff')`

/////////
geo.Geoserver.GeoserverException: Status : 400 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant