# Error about "Land use scheme not supported" in WRF-CMAQ coupled model

**URL:** <https://forum.cmascenter.org/t/error-about-land-use-scheme-not-supported-in-wrf-cmaq-coupled-model/5248>\
**Category:** WRF-CMAQ\
**Created:** [September 26, 2024, 2:13pm UTC](https://forum.cmascenter.org/t/error-about-land-use-scheme-not-supported-in-wrf-cmaq-coupled-model/5248 "2024-09-26T14:13:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fortuna](https://avatars.discourse-cdn.com/v4/letter/f/ea666f/32.png) [@Fortuna](https://forum.cmascenter.org/u/Fortuna)\
**Post date:** [September 26, 2024, 2:13pm UTC](https://forum.cmascenter.org/t/error-about-land-use-scheme-not-supported-in-wrf-cmaq-coupled-model/5248/1 "2024-09-26T14:13:38Z")

</div>

Hi all,

I’m using WRFv45-CMAQv54 coupled model and try to run a coupled test case. After changing land-surface model to Pleim-Xiu scheme, I found an error like this:

```
 *** ERROR ABORT in subroutine Init_LSM on PE 000        
 Land use scheme not supported
 Date&time specified as 0

```

Here are my runscript and log file. If there is any mistake, please let me know. Maybe I miss some detail setting about PX LSM in namelist.  
[namelist.input.txt](https://forum.cmascenter.org/uploads/short-url/njSuFX80ZRgrexU5GobKvtqsCWk.txt) (7.2 KB)  
[rsl.out.0000.txt](https://forum.cmascenter.org/uploads/short-url/4wBssgQomUJ27SY78HrWqtjdOfV.txt) (27.3 KB)  
[run\_cctm\_WRFCMAQ.csh](https://forum.cmascenter.org/uploads/short-url/dULhCExb3sA7k70BZSReOTr8QCn.csh) (52.1 KB)

Liu

---

<div class="post-metadata">

**Author:** ![rgilliam](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.cmascenter.org/rgilliam/32/65_2.png) [@rgilliam](https://forum.cmascenter.org/u/rgilliam)\
**Post date:** [September 26, 2024, 3:19pm UTC](https://forum.cmascenter.org/t/error-about-land-use-scheme-not-supported-in-wrf-cmaq-coupled-model/5248/2 "2024-09-26T15:19:48Z")

</div>

Are you using the 61 class MODIS landuse?

Check the geogrid file: geo\_em.d01.nc  
With ncdump -h geo\_em.d01.nc

Let us know if this is the landuse dataset?? This does work with WRFv4.6.0+, but not prior versions. You can redo your landuse using NLCD40 which is our prefered landuse.

```
            :MMINLU = "MODIFIED_IGBP_MODIS_NOAH" ;
            :NUM_LAND_CAT = 61 ;

```

---

<div class="post-metadata">

**Author:** ![Fortuna](https://avatars.discourse-cdn.com/v4/letter/f/ea666f/32.png) [@Fortuna](https://forum.cmascenter.org/u/Fortuna)\
**Post date:** [September 27, 2024, 3:09am UTC](https://forum.cmascenter.org/t/error-about-land-use-scheme-not-supported-in-wrf-cmaq-coupled-model/5248/3 "2024-09-27T03:09:27Z")

</div>

Hi Rob,

Thanks for your reply. My geogrid file shows:

```auto
 :MMINLU = "MODIFIED_IGBP_MODIS_NOAH" ;
                 :NUM_LAND_CAT = 21 ;

```

I follow the [user’s guide](https://www2.mmm.ucar.edu/wrf/users/wrf_users_guide/build/html/wps.html#geogrid-tbl-options) and `/geogrid/GEOGRID.TBL` to change landuse to 20 MODIS by:

```auto
geog_data_res = 'modis_15s',

```

And I noticed that the NLCD40 has locale restrictions in the [user guide](https://www2.mmm.ucar.edu/wrf/users/wrf_users_guide/build/html/namelist_variables.html).

` =40 : for NLCD2006; North America only`  
Since my main research area is in East Asia, I’m not sure if the NLCD40 is suitable for me.

In addition, it seems we **have to** choose between four land use types, something I hadn’t noticed before.

 ![1727406344576](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/2X/b/b47aeacbb0640709c93a7a6ec4dbadcc258d66aa.png)

---

<div class="post-metadata">

**Author:** ![rgilliam](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.cmascenter.org/rgilliam/32/65_2.png) [@rgilliam](https://forum.cmascenter.org/u/rgilliam)\
**Post date:** [October 8, 2024, 6:41pm UTC](https://forum.cmascenter.org/t/error-about-land-use-scheme-not-supported-in-wrf-cmaq-coupled-model/5248/4 "2024-10-08T18:41:18Z")

</div>

> [@Fortuna](#):
>
> `Land use scheme not supported`

Ok. You may have uncovered an updated needed in the two-way model connection components. In this case it is code under the cmaq directory has a landuse number of categories check for type. We have the 21 class working in WRF, but this is not in the two-way model. It’s simply just a logic check in two codes where MODIS can be 20 or 21. The 21 is not in the code. We’ll need David Wong to address this in the code, but you could add these for an immediate fix.

centralized\_io\_module.F  
case( ‘MODIS’ )  
if ( num\_land\_cat .ne. 20 .or. num\_land\_cat .ne 21) then  
write( xmsg, ‘(a, i3, a )’ ) strg, num\_land\_cat,  
& ’ for ’ // trim( mminlu )  
call m3exit ( pname, stdate, sttime, xmsg, xstat1 )  
end if

LSM\_MOD.F  
IF ( NUM\_LAND\_CAT .EQ. 24 ) THEN  
LAND\_SCHEME = ‘USGS24’  
ELSE IF ( NUM\_LAND\_CAT .EQ. 20 .OR. NUM\_LAND\_CAT .EQ. 21 ) THEN  
LAND\_SCHEME = ‘MODIS’  
ELSE IF ( NUM\_LAND\_CAT .EQ. 50 ) THEN  
LAND\_SCHEME = ‘NLCD50’  
ELSE IF ( NUM\_LAND\_CAT .EQ. 40 ) THEN  
LAND\_SCHEME = ‘NLCD40’  
END IF

![image](https://canada1.discourse-cdn.com/flex027/uploads/cmas/original/2X/4/411f341ecd0adfb1c8460f67ae4075fbe51133f2.png)

---

<div class="post-metadata">

**Author:** ![Fortuna](https://avatars.discourse-cdn.com/v4/letter/f/ea666f/32.png) [@Fortuna](https://forum.cmascenter.org/u/Fortuna)\
**Post date:** [October 9, 2024, 1:18am UTC](https://forum.cmascenter.org/t/error-about-land-use-scheme-not-supported-in-wrf-cmaq-coupled-model/5248/5 "2024-10-09T01:18:20Z")

</div>

Hi Rob,  
Thanks for your suggestion. I’ll give it a try.
