Prepare Land Use Inputs¶
The next step is the preparation of land use related model inputs. Return to the QGIS project, where the required MIKE SHE input layers will be derived from an existing land cover database.
The primary outputs required for MIKE SHE are:
- A Vegetation Map describing the spatial distribution of vegetation types used by the evapotranspiration module.
- A Manning Map describing the spatial distribution of overland flow roughness coefficients.
The first task is to identify an appropriate land cover dataset for the study area.
In this example, the Copernicus CORINE Land Cover (CLC) 2018 database is used, which provides harmonized land cover information across Europe (available from the Copernicus Land Monitoring Service).
Before preparing the MIKE SHE inputs, the original land cover classes should be reviewed using the official CLC nomenclature.
In many cases, it is beneficial to simplify the classification scheme by merging similar land cover classes.
Categories with comparable:
- vegetation properties,
- rooting characteristics,
- seasonal behaviour,
- surface roughness characteristics,
can often be represented by the same vegetation type and Manning coefficient.
This simplification reduces model complexity and parameter uncertainty while maintaining the dominant hydrological behaviour of the catchment.
The final classification should therefore reflect the hydrological processes relevant to the modelling objectives rather than the full thematic detail of the original land cover dataset.
Prepare the Land Use Layer¶
The original CORINE Land Cover dataset covers a much larger area than required for the model setup. Therefore, the first step is to reproject the dataset to the project coordinate reference system and subsequently clip it to the previously created Data_Collection_Mask.
-
Load the following layers into QGIS:
-
The CLC_2018 polygon layer.
-
The Data_Collection_Mask polygon.
-
Open the Processing Toolbox by selecting Processing → Toolbox.
-
Search for and open the Reproject Layer tool.
-
Set:
-
Input layer =
CLC2018 -
Target CRS = Project coordinate reference system

-
Specify an output file location and click Run.
-
Verify that the resulting layer uses the same coordinate reference system as the remaining model inputs.
-
Search for and open the Clip tool.
-
Set:
-
Input layer =
Projected -
Overlay layer =
Data_Collection_Mask
-
Specify an output file location and click Run.
-
Save the resulting layer as:
Input/LandUse/CLC_2018_clip.shp
-
Verify that the resulting polygon layer covers the complete model domain extent.
-
Continue with the parameter assignment and vegetation classification steps using the clipped layer.
Attach Hydrological Parameters to the Land Use Layer¶
The original CLC classes contain only land cover information and must therefore be supplemented with hydrological model parameters.
In this example, an external lookup table stored in Excel is used to assign:
- Simplified vegetation classes for the MIKE SHE vegetation map.
- Manning numbers for overland flow calculations.
- Subsurface leakage coefficients for limiting infiltration in sealed or highly impervious urban areas.
The lookup table contains the following fields:
| Field | Description |
|---|---|
| CLC18 | Original CORINE land cover code |
| Gridcode | Simplified vegetation class identifier |
| DHI_Vegetation_Type | Vegetation type used by the MIKE SHE evapotranspiration module |
| Manning | Manning roughness number used by the Overland Flow module |
| SubSurf | Subsurface leakage coefficient used to limit infiltration through paved or sealed surfaces |
Typical examples include:
| CLC18 | CORINE Class | Simplified Class | Gridcode | Vegetation Type | Manning | Subsurface Leakage |
|---|---|---|---|---|---|---|
| 111 | Continuous urban fabric | Building | 14 | Water_NoVeg | 28 | 1.00E-06 |
| 112 | Discontinuous urban fabric | Residential Area | 13 | Residential_Area | 28 | 1.00E-05 |
| 122 | Road and rail networks | Streets | 15 | Water_NoVeg | 50 | 1.00E-07 |
| 211 | Non-irrigated arable land | Agriculture | 11 | Agriculture_Grain | 5 | |
| 231 | Pasture and meadows | Greenlands | 10 | Greenlands | 15 | |
| 311 | Broad-leaved forest | Forest deciduous | 7 | Forest_deciduous | 12 | |
| 312 | Coniferous forest | Forest coniferous | 5 | Forest_coniferous | 12 | |
| 331 | Beaches, dunes and sand plains | No vegetation | 1 | Water_NoVeg | 6 |
Join the Lookup Table¶
- Add the Excel lookup table to the QGIS project:
Layer → Add Layer → Add Vector Layer
- Open the properties of the clipped CLC layer:
Right-click layer → Properties
- Navigate to:
Joins → Add Join
4. Configure the join:
- Join layer = Land use lookup table
- Join field =
CLC18 -
Target field =
CLC
5. Click OK. -
Open the attribute table of the clipped CLC layer and verify that the following fields have been added successfully:
-
Gridcode DHI_ENG_ETVManning-
SubSurf -
Save the joined layer as a permanent dataset.
This layer will subsequently be used to generate: -
the MIKE SHE vegetation map,
- the Manning roughness map,
- the subsurface leakage coefficient map.
Rasterize the Land Use Parameters¶
The prepared land use polygon layer can now be converted into raster inputs for MIKE SHE.
Separate raster files will be created for:
- Vegetation classes using the
Gridcodefield. - Manning numbers using the
Manningfield. - Subsurface leakage coefficients using the
SubSurffield.
All rasters will be created using the extent of the Data_Collection_Mask and a cell size of 50 m.
Check the Attribute Values¶
-
Open the attribute table of the prepared land use layer.
-
Verify that the required fields contain valid values:
-
Gridcode Manning-
SubSurf -
Check for empty or
NULLvalues.
Right click on the layer → Open Attribute Table
- Replace missing values where necessary before rasterization.
Each model cell should receive an appropriate value unless a NoData cell is intentionally required (e.g. for the subsurface leakage coefficient).
- If necessary, field names can be renamed using the Refactor Fields tool.

Create the Vegetation Raster¶
- Open the Processing Toolbox.
Processing → Toolbox
- Search for and open:
Rasterize (vector to raster)

-
Set the following parameters:
-
Input layer = prepared land use polygon layer
- Field to use for a burn-in value =
Gridcode - Output raster size units = Georeferenced units
- Horizontal resolution =
50 - Vertical resolution =
50 - Output extent = extent of the Data_Collection_Mask
-
Assign a specified NoData value to output bands = select an appropriate NoData value if required
-
Specify the output location and save the result, for example as:
Landuse_Gridcode.tif
- Click Run.
Create the Manning Raster¶
-
Run Rasterize (vector to raster) again as described in the Land Use section.
-
Use the same settings, but select:
-
Field to use for a burn-in value =
Manning -
Save the output as:
Manning.tif
Create the Subsurface Leakage Raster¶
-
Run Rasterize (vector to raster) again as described in the Land Use section.
-
Use the same settings, but select:
-
Field to use for a burn-in value =
SubSurf -
Save the output as:
Subsurface_Leakage.tif
Export the Rasters to ASCII Grid Format¶
- Open the Translate (Convert Format) tool from the Processing Toolbox.

-
Select the generated raster as the input layer.
-
Specify the output format as Arc/Info ASCII Grid.
-
Save the output with the
.ascextension, for example: -
Landuse_Gridcode.asc Manning.asc-
Subsurface_Leakage.asc -
Repeat the conversion for all three raster layers.
-
Verify each ASCII raster:
-
The coordinate reference system matches the project CRS.
- The cell size is 50 m.
- The extent matches the Data_Collection_Mask.
- The number of rows and columns is consistent between all raster layers.
- The raster values correspond to the selected source field.
- No unintended NoData areas occur within the model input area.
Note
The vegetation raster should normally contain integer category codes.
Manning numbers and subsurface leakage coefficients may require floating-point output values.
Verify the output data type in the rasterization settings, particularly for small leakage coefficients such as
1.0E-07.
Convert the Vegetation Map to DFS2 Format¶
The vegetation raster can now be converted to DFS2 format using the same procedure previously described for the topography raster.
-
Open MIKE Zero Toolbox.
-
Navigate to:
GIS
└── Grid2Mike
- Select the input file:
Landuse_Gridcode.asc
Ensure that the file is not open in any other application.
If the raster is currently loaded in QGIS, remove it from the project before running Grid2Mike.
- Select the map projection corresponding to the coordinate reference system used in the MIKE SHE model.
Recommended: Local Coordinates.
- Specify the output file:
Input/
└── LandUse
└── Vegetation
└── Landuse_Gridcodes.dfs2
- Define the item properties:
| Parameter | Value |
|---|---|
| Item Name | Landuse |
| Item Type | Grid code |
| Item Unit | Integer |

-
Review the settings and click Execute.
-
Open the generated DFS2 file in the Grid Editor and verify:
-
The extent matches the Data_Collection_Mask.
- The cell size is 50 m × 50 m.
- The raster values match the original ASCII file.
Note
The vegetation DFS2 contains integer category identifiers rather than physical quantities.
The actual vegetation properties, such as LAI, root depth, root distribution, crop coefficients, and interception storage, will be defined later in the MIKE SHE Vegetation Database using these identifiers.
Convert the Manning Map to DFS2 Format¶
- Open:
GIS
└── Grid2Mike
- Select the input file:
Manning.asc
Ensure that the file is not open in any other application.
If the raster is currently loaded in QGIS, remove it from the project before running Grid2Mike.
-
Use the same projection settings as previously described.
-
Specify the output file:
Input/
└── OL
└── Manning
└── Manning.dfs2
- Define the item properties:
| Parameter | Value |
|---|---|
| Item Name | Manning |
| Item Type | Manning's M |
| Item Unit | meter^(1/3)/s |

-
Execute the conversion.
-
Open the generated DFS2 file in the Grid Editor and verify:
-
The extent matches the Data_Collection_Mask.
- The cell size is 50 m × 50 m.
- The raster values match the original ASCII file.
Convert the Subsurface Leakage Map to DFS2 Format¶
- Open:
GIS
└── Grid2Mike
- Select the input file:
Subsurface_Leakage.asc
Ensure that the file is not open in any other application.
If the raster is currently loaded in QGIS, remove it from the project before running Grid2Mike.
-
Use the same projection settings as previously described.
-
Specify the output file:
Input/
└── OL
└── SubsurfaceLeakage
└── Subsurface_Leakage.dfs2
- Define the item properties:
| Parameter | Value |
|---|---|
| Item Name | SubSurf_Leakage |
| Item Type | Leakage Coefficient / Drain Time Constant |
| Item Unit | per sec |

-
Review the settings and click Execute.
-
Open the generated DFS2 file in the Grid Editor and verify:
-
The extent matches the Data_Collection_Mask.
- The cell size is 50 m × 50 m.
- The raster values match the original ASCII file.
- The values correspond to the original Subsurface_Leakage.asc raster.
- Small floating-point values (for example
1.0E-07) have been preserved correctly.
Important
The leakage coefficient is stored as a floating-point value.
Always verify that the selected output data type supports the required numerical precision before running the conversion.
Summary¶
After completing the workflow, the following MIKE SHE input files should be available:
Input/
├── LandUse
│ └── Vegetation
│ └── Landuse_Gridcodes.dfs2
└── OL
├── Manning
│ └── Manning.dfs2
└── SubsurfaceLeakage
└── Subsurface_Leakage.dfs2
These three DFS2 files provide the spatially distributed input for:
- Vegetation classes
- Manning roughness coefficients
- Subsurface leakage coefficients
and can now be referenced by the corresponding MIKE SHE model components.
Click here to jump to the next section: