How can I obtain 3DVar static B files for a regional MPAS-JEDI?

Hi @byoung-joo,

I tried to move forward by modifying the pre-processing and processing scripts, using zonal and meridional wind (uReconstructZonal and uReconstructMeridional) instead of stream_function and velocity_potential. However, when I reach step 2a_run_hdiag_var.bash, I get the following error:

OOPS_STATS Run start                                - Runtime:      8.39 sec,  Memory: total:    11.99 Gb, per task: min =    42.09 Mb, max =    51.74 Mb
Run: Starting oops::ErrorCovarianceToolbox<MPAS>
==> create geom
==> create geom
==> create geom
==> create geom
==> create geom
==> create geom

===================================================================================
=   BAD TERMINATION OF ONE OF YOUR APPLICATION PROCESSES
=   PID 1331067 RUNNING AT n18
=   EXIT CODE: 9
=   CLEANING UP REMAINING PROCESSES
=   YOU CAN IGNORE THE BELOW CLEANUP MESSAGES
===================================================================================
[proxy:1@n19] HYD_pmcd_pmip_control_cmd_cb (proxy/pmip_cb.c:487): assert (!closed) failed
[proxy:1@n19] HYDT_dmxu_poll_wait_for_event (lib/tools/demux/demux_poll.c:76): callback returned error status
[proxy:1@n19] main (proxy/pmip.c:182): demux engine error waiting for event
srun: error: n19: task 1: Exited with exit code 7
[mpiexec@n18] HYDT_bscu_wait_for_completion (lib/tools/bootstrap/utils/bscu_wait.c:109): one of the processes terminated badly; aborting
[mpiexec@n18] HYDT_bsci_wait_for_completion (lib/tools/bootstrap/src/bsci_wait.c:21): launcher returned error waiting for completion
[mpiexec@n18] HYD_pmci_wait_for_completion (mpiexec/pmiserv_pmci.c:189): launcher returned error waiting for completion
[mpiexec@n18] main (mpiexec/mpiexec.c:260): process manager error waiting for completion

Would there be any way you could help me by sending the modified scripts to generate the B Matrix for the regional mesh?

Thank you very much!