# How to do NMC method in JEDI-MPAS?

**URL:** <https://forums.jcsda.org/t/how-to-do-nmc-method-in-jedi-mpas/472>\
**Category:** JEDI\
**Created:** [May 8, 2023, 2:11am UTC](https://forums.jcsda.org/t/how-to-do-nmc-method-in-jedi-mpas/472 "2023-05-08T02:11:36Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jw12](https://avatars.discourse-cdn.com/v4/letter/j/5fc32e/32.png) [@jw12](https://forums.jcsda.org/u/jw12)\
**Post date:** [May 8, 2023, 2:11am UTC](https://forums.jcsda.org/t/how-to-do-nmc-method-in-jedi-mpas/472/1 "2023-05-08T02:11:36Z")

</div>

I am looking for a way to do NMC method in JEDI-MPAS, but I am not sure how to write the namelist. Is there a sample yaml to do NMC method? Do I specify the perturbation files in the `ensemble` section or some other sections in the yaml? Thanks!

---

<div class="post-metadata">

**Author:** ![byoung-joo](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.jcsda.org/byoung-joo/32/126_2.png) [@byoung-joo](https://forums.jcsda.org/u/byoung-joo)\
**Post date:** [May 8, 2023, 4:01pm UTC](https://forums.jcsda.org/t/how-to-do-nmc-method-in-jedi-mpas/472/2 "2023-05-08T16:01:30Z")

</div>

Hi @jw12,

Thank you for your interest in JEDI-MPAS. The capability asked is not yet supported in the released version of JEDI-MPAS. There are some scripts and sample yaml files in the released code [[here]](https://github.com/JCSDA/mpas-jedi/tree/master/test/covariance), but it is not supported due to the limited resources.

Some specific questions can be still answered as shown in [Mpas-jedi be](https://forums.jcsda.org/t/mpas-jedi-be/316) .

BJ

---

<div class="post-metadata">

**Author:** ![jw12](https://avatars.discourse-cdn.com/v4/letter/j/5fc32e/32.png) [@jw12](https://forums.jcsda.org/u/jw12)\
**Post date:** [May 9, 2023, 1:22am UTC](https://forums.jcsda.org/t/how-to-do-nmc-method-in-jedi-mpas/472/3 "2023-05-09T01:22:18Z")

</div>

Hi @byoung-joo ,

I see. Actually I also saw that blog post you mentioned so I thought NMC method is supported. Anyway thank you for the reply.

---

<div class="post-metadata">

**Author:** ![jw12](https://avatars.discourse-cdn.com/v4/letter/j/5fc32e/32.png) [@jw12](https://forums.jcsda.org/u/jw12)\
**Post date:** [May 9, 2023, 1:36am UTC](https://forums.jcsda.org/t/how-to-do-nmc-method-in-jedi-mpas/472/4 "2023-05-09T01:36:22Z")

</div>

Hi @byoung-joo ,

I have one more question then. How do I do static BE in JEDI-MPAS? I followed the documentation and it mentioned that `parameters_bumpcov.yaml` and `3dvar_bumpcov.yaml` are the yaml files for doing static BE, but I got a little confused about the method because in the sample yaml, static BE is calculated from 5 ensemble members at the analysis time. What is the implication of using ensemble members in the calculation of static BE? Thanks!

---

<div class="post-metadata">

**Author:** ![byoung-joo](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.jcsda.org/byoung-joo/32/126_2.png) [@byoung-joo](https://forums.jcsda.org/u/byoung-joo)\
**Post date:** [May 9, 2023, 3:43pm UTC](https://forums.jcsda.org/t/how-to-do-nmc-method-in-jedi-mpas/472/5 "2023-05-09T15:43:03Z")

</div>

> [@jw12](#):
>
> What is the implication of using ensemble members in the calculation of static BE?

- `parameters_bumpcov.yaml` in the ctest list generates the static B files, through the generic component of JEDI, BUMP, which is under the SABER repository. From the yaml, it generates the univariate BUMP B files for variables [`temperature`,`spechum`, `uReconstructZonal`, `uReconstructMeridional`, `surface_pressure`]. Here, BUMP calculates the B statistics from five ensemble files as an input.

- `3dvar_bumpcov.yaml` executes the variational application with 3dvar cost function using the univariate BUMP B files, which is generated by `parameters_bumpcov.yaml`

- Note that the structure of overall B can change, depending on the configuration (and design).

Hope this helps some of your questions. --BJ
