Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

Modified LU_INDEX variable from geo_em.d04.nc file with matlab. Error in real.exe.

natalia_c

New member
Hello!
I am wondering if someone can help me with this issue. I had to do some alterations to the LU_INDEX variable on the 4th domain. I decided to try and change soma grid point values on the geo_em.d04.nc file with matlab. I saved the changed variable and run ungrib succesfully. Then metgrid run ok, but real.exe showed an error. The NUM_LAND_CAT property showed 24 on the 4th domain met_em files, and 21 on the other domain files. I am using the MODIFIED_IGBP_MODIS_NOAH landuse category, so I guess that modifyng the geo_em.d04.nc file with matlab resulted in an error.
Then I tried to cheat and changed the property with nco, but as I expected, wrf.exe didn't work.
Is it maybe not recommended to edit the intermediate files with matlab as the properties of the variables are altered? is there any advise?

I almost forgot to say that the rsl.error.* files don't show any warning or error.
 
Ok, I'm sorry to upload questions this simple. What I did to fix this, was replace the original geo_em.d04.nc variable LU_INDEX with nco:

ncks -A -v "LU_INDEX" "/home/ncarrera/AUTO/Salidas/geo_LU_daniel/lu_index_nuevo.nc" "geo_em.d04.nc"
where the lu_index_nuevo.nc is the modified variable. This file indeed was created with matlab, but replacing the variable with nco did not carry errors.
 
Top