RMAX Error Printing (But Still Successful)
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 58/100
Direzione di ricerca
Inizia in visualCaseGen/custom_widget_types/runoff_mapping_generator.py, in RunoffMappingGenerator.on_btn_generate_new_clicked, in particolare alla riga 165, e segui get_suggested_smoothing_params. Riproduci l’esecuzione riuscita di 20 km e verifica perché suggested_rmax diventa 5000.0; l’attività è completata quando l’operazione riuscita non stampa più l’errore di vincolo ROF_OCN_MAPPING_RMAX.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
There is a rmax error printed even when I specified it to 20 km and it successfully run:
ile /glade/work/manishrv/installs/cesm3_0_beta08_gui/visualCaseGen/visualCaseGen/custom_widget_types/runoff_mapping_generator.py:165, in RunoffMappingGenerator.on_btn_generate_new_clicked(self, b)
162 _, ocn_mesh_path = self.get_ocn_grid_and_mesh()
163 suggested_rmax, suggested_fold = mapping.get_suggested_smoothing_params(ocn_mesh_path)
--> [165](https://vscode-remote+ssh-002dremote-002bcasper-002ehpc-002eucar-002eedu.vscode-resource.vscode-cdn.net/glade/work/manishrv/installs/cesm3_0_beta08_gui/visualCaseGen/visualCaseGen/custom_widget_types/runoff_mapping_generator.py:165) cvars["ROF_OCN_MAPPING_RMAX"].value = suggested_rmax
166 cvars["ROF_OCN_MAPPING_FOLD"].value = suggested_fold
File /glade/work/manishrv/conda-envs/vcg_gui/lib/python3.12/site-packages/traitlets/traitlets.py:735, in TraitType.__set__(self, obj, value)
733 if self.read_only:
734 raise TraitError('The "%s" trait is read-only.' % self.name)
--> [735](https://vscode-remote+ssh-002dremote-002bcasper-002ehpc-002eucar-002eedu.vscode-resource.vscode-cdn.net/glade/work/manishrv/conda-envs/vcg_gui/lib/python3.12/site-packages/traitlets/traitlets.py:735) self.set(obj, value)
File /glade/work/manishrv/conda-envs/vcg_gui/lib/python3.12/site-packages/traitlets/traitlets.py:709, in TraitType.set(self, obj, value)
708 def set(self, obj: HasTraits, value: S) -> None:
--> [709](https://vscode-remote+ssh-002dremote-002bcasper-002ehpc-002eucar-002eedu.vscode-resource.vscode-cdn.net/glade/work/manishrv/conda-envs/vcg_gui/lib/python3.12/site-packages/traitlets/traitlets.py:709) new_value = self._validate(obj, value)
710 assert self.name is not None
711 try:
...
352 # with the new assignment assertion when the new options_spec are called and they themselves call
353 # csp methods, e.g., check_assignments, that rely on self._assignment_assertions.
354 self._assignment_assertions.pop(var, None)
ConstraintViolation: Invalid assignment of ROF_OCN_MAPPING_RMAX to 5000.0. Reason: ROF_OCN_MAPPING_RMAX must be less than or equal to 4000 km.
- Lingua principale
- Python
- Stelle
- 16
- Fork
- 4
- Merge medio
- 9h
- PR unite (30g)
- 2
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di ESMCI/visualCaseGen
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
ESMCI/visualCaseGen#43 ·
-
Miscellaneous pre-existing issues found while reviewing #45Forse di nuovo libera @manishvenu l’ha presa 34 giorni fa e non c’è nessuna pull request aperta. Aperta
ESMCI/visualCaseGen#47 · 1 assegnatario ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 45/100
ESMCI/visualCaseGen#40 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 48/100
ESMCI/visualCaseGen#33 ·
-
question
Difficoltà 2/5 1-3 ore Idoneità per principianti 38/100
ESMCI/visualCaseGen#25 · 1 commento ·
Tutte le issue di ESMCI/visualCaseGen
Issue simili
-
Workflow.schedule stops when a cron deadline passes before sleepForse già presa @HuaTNA l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
[Bug] HiveDialect shares its colspecs dict with SQLAlchemy's DefaultDialect (python/pyhive)Forse già presa @rusackas l’ha presa oggi. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 80/100
apache/kyuubi#7786 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 80/100
I maintainer di solito rispondono entro 1 giorno
-
[20.0] hr_work_entry: Duration column of Export Time Entries is truncated to whole hoursForse già presa @odooaktiv l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
fix formatting of the sample database page of the docsForse già presa @Aaqibhafeezkhan l’ha presa oggi. Apertadocumentation good first issue help wanted
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
chaoss/CollectOSS#544 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno