Hi, I'm working on customizing Landuse data for WRF and encountered an issue when running real.exe. The model stops with the error message:
I suspect the issue is related to Landuse preprocessing. Here are the steps I took to integrate the land cover data:
CSS:
grid%tsk unreasonable
I suspect the issue is related to Landuse preprocessing. Here are the steps I took to integrate the land cover data:
- Custom Landuse Data Source:
- I used EGIS land cover data, which I converted to binary (.bil) format.
- And in the bin file, I confirmed that the land cover code was properly mapped.
- Resolution & Projection: The dataset was projected to EPSG:4326 with a resolution of 0.0041666667.
- Preprocessing Workflow:
- Used rasterio and rasterize() to convert shapefiles to a raster grid.
- Assigned 1 to all no-data areas.
- Processed GEOGRID.TBL with the following settings:
INI:name=LANDUSEF priority = 1 dest_type = categorical z_dim_name = land_cat dominant = LU_INDEX interp_option = egis_landuse:nearest_neighbor rel_path = egis_landuse:egis_landuse/
- Checking geo_em Files
- Used ncdump -v LU_INDEX geo_em.d01.nc | less to check LU_INDEX values.
- Found that all values were 17, which seems incorrect.
- Running real.exe
- real.exe runs but fails with "grid%tsk unreasonable" error.
- ncdump -v TSK met_em.d01.2023-06-01_12:00:00.nc shows no TSK variable.
- What causes geo_em to be created with only one code of 17?
- Could this issue be caused by incorrect Landuse classification mapping?
- Any recommended debugging steps for Landuse-related real.exe errors?