# Afdust\_adj NCVGT Error (NetCDF dimension)

**URL:** https://forum.cmascenter.org/t/afdust-adj-ncvgt-error-netcdf-dimension/2845
**Category:** SMOKE
**Created:** [November 24, 2021, 9:56pm UTC](https://forum.cmascenter.org/t/afdust-adj-ncvgt-error-netcdf-dimension/2845 "2021-11-24T21:56:38Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Soroush](https://avatars.discourse-cdn.com/v4/letter/s/8baadc/32.png) [@Soroush](https://forum.cmascenter.org/u/Soroush)
#### Post date: [November 24, 2021, 9:56pm UTC](https://forum.cmascenter.org/t/afdust-adj-ncvgt-error-netcdf-dimension/2845/1 "2021-11-24T21:56:38Z")

</div>

Hello,

I’m running NEI 2017 platform and faced a problem when running afdust\_adj. I already run other sectors (e.g. onroad and nonpoint) including afdust with no error.  
The error is:

> NCVGT: : NetCDF: Index exceeds dimension bound  
> ERROR: Running precip adjustments

After searching in this forum, I’ve made sure that the time period is the same between met files and smoke runs. However, when I checked the dimensions, I noticed that METDOT3D file has one extra row and column. Is this normal?  
Here are dimensions of the met files I’m using:

> netcdf METCRO2D\_171201:  
> TSTEP = UNLIMITED ; // (24 currently)  
> DATE-TIME = 2 ;  
> LAY = 1 ;  
> VAR = 35 ;  
> ROW = 299 ;  
> COL = 459 ;
> 
> netcdf METCRO3D\_171201:  
> TSTEP = UNLIMITED ; // (24 currently)  
> DATE-TIME = 2 ;  
> LAY = 29 ;  
> VAR = 16 ;  
> ROW = 299 ;  
> COL = 459 ;
> 
> netcdf METDOT3D\_171201:  
> TSTEP = UNLIMITED ; // (24 currently)  
> DATE-TIME = 2 ;  
> LAY = 29 ;  
> VAR = 6 ;  
> ROW = 300 ;  
> COL = 460 ;

Also, this is the dimension of merged smoke output (with no afdust):

> emis\_mole\_all\_20171201\_12US1\_nobeis\_norwc\_2017gb\_17j:  
> TSTEP = UNLIMITED ; // (25 currently)  
> DATE-TIME = 2 ;  
> LAY = 1 ;  
> VAR = 63 ;  
> ROW = 299 ;  
> COL = 459 ;

Does anyone know what is wrong?

Thanks,  
Soroush

---

<div class="post-metadata">

### Author: ![bbaek](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.cmascenter.org/bbaek/32/22_2.png) [@bbaek](https://forum.cmascenter.org/u/bbaek)
#### Post date: [November 24, 2021, 10:35pm UTC](https://forum.cmascenter.org/t/afdust-adj-ncvgt-error-netcdf-dimension/2845/2 "2021-11-24T22:35:08Z")

</div>

There is no problem on MCIP files. METDOT is designed to stores the vector values from all corners (dots) of grid cell while METCRO files are for the scalar values from the center (cross) of grid cell. That is why METDOT has an extra dimension compared to METCRO.  
You should use the METCRO2D file for the adjustment.

---

<div class="post-metadata">

### Author: ![Rypo](https://avatars.discourse-cdn.com/v4/letter/r/85f322/32.png) [@Rypo](https://forum.cmascenter.org/u/Rypo)
#### Post date: [November 30, 2022, 12:54am UTC](https://forum.cmascenter.org/t/afdust-adj-ncvgt-error-netcdf-dimension/2845/3 "2022-11-30T00:54:54Z")

</div>

Hi Soroush,

Could I know how you fix this error?

Thanks

Just solved it. I need to remove wrong old files in afdust folder and rerun afdust and afdust\_adj. It works now.
