Help outputting spectral diagnostics #276
-
|
Hi there, me again! I'm trying to implement a simple, spectral radiation scheme in Isca. I'm doing a spectrally-resolved calculation of LW optical depth/fluxes, then integrating over wavenumber before passing heating rates onto the rest of the model. I'd like to be able to output spectrally-resolved diagnostics, to check that everything I'm doing is working correctly. It's not obvious how I should do this, so I was wondering if you had any tips? I've found some code in the socrates interface which seems promising (copied below)? So if I already have an array of wavenumbers, I can just pass it to Another question: can Cheers |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
|
Brett McKim might have something to say about this, but I'm not sure he checks this channel or is on GitHub. |
Beta Was this translation helpful? Give feedback.
-
|
@daw538 (Dan) and Ryan Boukrouche (who I can’t tag, but will point to this) should also be able to help with this :) |
Beta Was this translation helpful? Give feedback.
-
|
Not sure I'll be of great help, but it looks like a good start to emulate the socrates interface with the pipeline id _X --> register_diag --> send_data --> runscript DiagTable. I did try to output 4D spectral fluxes a while ago, but it never worked because the code misses the corresponding routine, we would have to add send_data_4d in src/shared/diag_manager/diag_manager.F90 among other things I think |
Beta Was this translation helpful? Give feedback.
Not sure I'll be of great help, but it looks like a good start to emulate the socrates interface with the pipeline id _X --> register_diag --> send_data --> runscript DiagTable. I did try to output 4D spectral fluxes a while ago, but it never worked because the code misses the corresponding routine, we would have to add send_data_4d in src/shared/diag_manager/diag_manager.F90 among other things I think