# DESID GRID making (Region label)

**URL:** <https://forum.cmascenter.org/t/desid-grid-making-region-label/3430>\
**Category:** CMAQ\
**Created:** [July 18, 2022, 7:49pm UTC](https://forum.cmascenter.org/t/desid-grid-making-region-label/3430 "2022-07-18T19:49:45Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![hogrefe.christian](https://avatars.discourse-cdn.com/v4/letter/h/74df32/32.png) [@hogrefe.christian](https://forum.cmascenter.org/u/hogrefe.christian)\
**Post date:** [July 19, 2022, 1:04pm UTC](https://forum.cmascenter.org/t/desid-grid-making-region-label/3430/4 "2022-07-19T13:04:00Z")

</div>

There are at least two aspects to this process:

- create a gridded file in any format representing the geographical features in your domain (states, counties, regular shaped boxes, etc.) which you would like to reference in DESID

- Create an I/O API file containing one REAL variable of fractions between 0 and 1 for each such feature.

There is no ready-made tool for the first step fitting all situations. Depending on their problem, people have used the Spatial Allocator, written custom Fortran code to read information from SMOKE gridding surrogates for their domain and generate gridded files (see the description in the [README file](https://drive.google.com/drive/folders/1x9mJUbKjJaMDFawgy2PUbETwEUopAQDl) for the 12 km grid mask files we posted to the CMAS data warehouse), or used GIS tools to manipulate shapefiles.

For the second step, a number of people have used a combination of tools `m3mask` and `m3merge`. For examples, see the discussion in these threads:  
[What’s the maskdata’s format?](https://forum.cmascenter.org/t/whats-the-maskdatas-format/2919)  
[ISAM SA\_ACONC output error](https://forum.cmascenter.org/t/isam-sa-aconc-output-error/1622)  
[How to make ISAM\_REGIONS file?](https://forum.cmascenter.org/t/how-to-make-isam-regions-file/2877)

---

_[View the full topic](https://forum.cmascenter.org/t/desid-grid-making-region-label/3430)._
