Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

opendap support for outputs

Aperta
#512 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Inizia leggendo l’implementazione dello storage builder e l’entry point inout.storage.builder.STORAGE_MAP, quindi esamina come output_path e ComplexOutput gestiscono i file referenziati. Aggiungi il percorso di storage DODS proposto e un URL di base basato sulla configurazione, in modo che gli output DODS restituiscano un link DAP mentre i file vengono scritti normalmente; verifica il comportamento della risposta con un output netCDF servito da THREDDS.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Description

Our platform runs a number of different pywps servers. The outputs of the process are stored on a disk that is indexed by THREDDS. THREDDS offers remote access to netCDF files using DAP. So what we'd like to be able to do is for processes to return an opendap url if the data_format is set to DODS.

I think this can be done by

  • implementing a DODSStorageBuilder, using configuration settings to set base_url to the DAP link
  • adding "dods": DODSStorageBuilder to inout.storage.builder.STORAGE_MAP

Then I think we'd configure the THREDDS server to serve what's in the PyWPS output_path. When writing a process' response,
we would declare the dap_output ComplexOutput to be of format DODS and with as_reference=True, then do something like
response['dap_output'].file = <path_to_netcdf_file>

The DODSStorageBuilder would write the file to disk, as usual, but instead of returning an http link to the file stored on the server, it would return a DODS link.

Lingua principale
Python
Stelle
186
Fork
116
Merge medio
11g 20h
PR unite (30g)
1

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di geopython/pywps

Tutte le issue di geopython/pywps

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.