# Error in nicas\_blk\_compute\_sampling\_c1

**URL:** <https://forums.jcsda.org/t/error-in-nicas-blk-compute-sampling-c1/74>\
**Category:** JEDI\
**Created:** [February 16, 2021, 3:50pm UTC](https://forums.jcsda.org/t/error-in-nicas-blk-compute-sampling-c1/74 "2021-02-16T15:50:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![andytangborn](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.jcsda.org/andytangborn/32/48_2.png) [@andytangborn](https://forums.jcsda.org/u/andytangborn)\
**Post date:** [February 16, 2021, 3:50pm UTC](https://forums.jcsda.org/t/error-in-nicas-blk-compute-sampling-c1/74/1 "2021-02-16T15:50:02Z")

</div>

I am trying to run fv3jedi\_parameters.x using the bumpparameters\_nicas\_gfs\_aero.yaml. I’ve added in the section for computing and writing out stddev, and it runs until starting to write out the nicas files. I get the error message:

!!! ABORT in nicas\_blk\_compute\_sampling\_c1 on task #0001: no valid level

I’m assuming that there is perhaps something missing from my yaml file. I’ve attached it here:

geometry:  
nml\_file\_mpp: Data/fv3files/fmsmpp.nml  
trc\_file: Data/fv3files/field\_table  
akbk: Data/fv3files/akbk64.nc4

# input.nml

layout: [2,2]  
io\_layout: [1,1]  
npx: 97  
npy: 97  
npz: 64  
ntiles: 6  
fieldsets:  
- fieldset: Data/fieldsets/dynamics.yaml  
- fieldset: Data/fieldsets/aerosols\_gfs.yaml  
input variables: &aerovars [sulf,bc1,bc2,oc1,oc2,  
dust1,dust2,dust3,dust4,dust5,  
seas1,seas2,seas3,seas4,seas5]

date: ‘2016-07-01T00:00:00Z’  
background:  
filetype: gfs  
datapath: Data/inputs/gfs\_aero\_c96/bkg/  
filename\_core: 20160701.000000.fv\_core.res.nc  
filename\_trcr: 20160701.000000.fv\_tracer.res.nc  
filename\_cplr: 20160701.000000.coupler.res  
state variables: [sulf]  
bump:  
prefix: Data/bump/fv3jedi\_bumpparameters\_nicas\_gfs\_aero  
verbosity: main  
universe\_rad: 2500.0e3  
strategy: specific\_univariate  
new\_nicas: 1  
ntry: 10  
nrep: 2  
resol: 6.0  
mpicom: 2

# Forced length-scales

# --------------------

write\_cmat: 0  
io\_keys:

- “sulf-sulf”  
io\_values:
- “fixed\_2500km\_1.5”  
new\_vbal: 1  
vbal\_block: [0,1,1,0,1,0]  
vbal\_rad: 3000.0e3  
new\_var: 1  
ne: 8  
var\_filter: 1  
var\_niter: 3  
var\_rhflt: 2500.0e3  
ensemble:  
date: ‘2016-07-01T00:00:00Z’  
members:
- filetype: gfs  
state variables: \*aerovars  
datapath: Data/inputs/gfs\_aero\_c96/mem001/  
filename\_trcr: fv\_tracer.res.nc  
filename\_cplr: coupler.res
- filetype: gfs  
state variables: \*aerovars  
datapath: Data/inputs/gfs\_aero\_c96/mem002/  
filename\_trcr: fv\_tracer.res.nc  
filename\_cplr: coupler.res
- filetype: gfs  
state variables: \*aerovars  
datapath: Data/inputs/gfs\_aero\_c96/mem003/  
filename\_trcr: fv\_tracer.res.nc  
filename\_cplr: coupler.res  
state variables: \*aerovars  
datapath: Data/inputs/gfs\_aero\_c96/mem004/  
filename\_trcr: fv\_tracer.res.nc  
filename\_cplr: coupler.res
- filetype: gfs  
state variables: \*aerovars  
datapath: Data/inputs/gfs\_aero\_c96/mem005/  
filename\_trcr: fv\_tracer.res.nc  
filename\_cplr: coupler.res
- filetype: gfs  
state variables: \*aerovars  
datapath: Data/inputs/gfs\_aero\_c96/mem006/  
filename\_trcr: fv\_tracer.res.nc  
filename\_cplr: coupler.res
- filetype: gfs  
state variables: \*aerovars  
datapath: Data/inputs/gfs\_aero\_c96/mem007/  
filename\_trcr: fv\_tracer.res.nc  
filename\_cplr: coupler.res
- filetype: gfs  
state variables: \*aerovars  
datapath: Data/inputs/gfs\_aero\_c96/mem008/  
filename\_trcr: fv\_tracer.res.nc  
filename\_cplr: coupler.res  
output:
- parameter: stddev  
exp: stddev  
type: an  
filetype: gfs  
datapath: Data/bump\_aero/  
filename\_core: bumpparameters\_nicas\_gfs\_aero.stddev.fv\_core.res.nc  
filename\_trcr: bumpparameters\_nicas\_gfs\_aero.stddev.fv\_tracer.res.nc  
filename\_cplr: bumpparameters\_nicas\_gfs\_aero.stddev.coupler.res  
date: ‘2016-07-01T00:00:00Z’
- parameter: cor\_rh  
exp: cor\_rh  
type: an  
filetype: gfs  
datapath: Data/bump\_aero/  
filename\_core: bumpparameters\_nicas\_gfs\_aero.cor\_rh.fv\_core.res.nc  
filename\_trcr: bumpparameters\_nicas\_gfs\_aero.cor\_rh.fv\_tracer.res.nc  
date: ‘2016-07-01T00:00:00Z’
- parameter: cor\_rv  
exp: cor\_rv  
type: an  
filetype: gfs  
datapath: Data/bump\_aero/  
filename\_core: bumpparameters\_nicas\_gfs\_aero.cor\_rv.fv\_core.res.nc  
filename\_trcr: bumpparameters\_nicas\_gfs\_aero.cor\_rv.fv\_tracer.res.nc  
date: ‘2016-07-01T00:00:00Z’

---

<div class="post-metadata">

**Author:** ![andytangborn](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.jcsda.org/andytangborn/32/48_2.png) [@andytangborn](https://forums.jcsda.org/u/andytangborn)\
**Post date:** [February 17, 2021, 3:33pm UTC](https://forums.jcsda.org/t/error-in-nicas-blk-compute-sampling-c1/74/2 "2021-02-17T15:33:00Z")

</div>

I’ve resolved this issue. But have encountered a new error that I have not seen before. During iterations - this error occurred.

!!! ABORT in stripack\_trmesh on task #0009: N \< 3  
Traceback for instance 11 :

---

<div class="post-metadata">

**Author:** ![andytangborn](https://yyz1.discourse-cdn.com/flex031/user_avatar/forums.jcsda.org/andytangborn/32/48_2.png) [@andytangborn](https://forums.jcsda.org/u/andytangborn)\
**Post date:** [February 17, 2021, 6:03pm UTC](https://forums.jcsda.org/t/error-in-nicas-blk-compute-sampling-c1/74/3 "2021-02-17T18:03:25Z")

</div>

I was able to avoid the above ABORT by reducing the number of iterations in BUMP. I’m working on “load\_var” in hyb-3dvar\_gfs\_aero.yaml. It would be helpful to see a complete yaml file that includes this.
