Hi
I want to add some new variable in the WRF and calculate roughness length over the sea. Actually I want to modify a script (I don't know which script in the WRF is better for this purpose but I used solve_em.F) to read some variables every 30 minutes and take them to a modified surface layer to calculate surface roughness.
I defined my new variables in Registery:
state real HWAVE ij misc 1 - i012rhd "HWAVE" "SEA SURFACE WAVE HEIGHTS" "m"
state real LWAVEP ij misc 1 - i012rhd "LWAVEP" "SEA SURFACE PEAK WAVE LENGTH" "m"
state real PWAVE ij misc 1 - i012rhd "PWAVE" "SEA SURFACE PEAK WAVE PERIOD" "s"
Then I interpolated new variables (which I downloaded from ERA5 dataset) on WRF grids and save it in NC file using NCL and then modify solve_em.F to read data from this NC file. But now when I want to assign these values to the defined variables in the WRF, I see that the dimensions of variables in the surface layer schemes ate different.
I interpolated data on "ids, ide, jds, jde" but modules in WRF read data on "ims, ime, jms, jme".
I don’t know what is "ims, ime, jms, jme" and how to convert dimensions of new variables to these dimensions.
I want to know how to solve this problem? And is the method I used to read new data in the WRF modules correct?
Regards
Mohammadreza
I want to add some new variable in the WRF and calculate roughness length over the sea. Actually I want to modify a script (I don't know which script in the WRF is better for this purpose but I used solve_em.F) to read some variables every 30 minutes and take them to a modified surface layer to calculate surface roughness.
I defined my new variables in Registery:
state real HWAVE ij misc 1 - i012rhd "HWAVE" "SEA SURFACE WAVE HEIGHTS" "m"
state real LWAVEP ij misc 1 - i012rhd "LWAVEP" "SEA SURFACE PEAK WAVE LENGTH" "m"
state real PWAVE ij misc 1 - i012rhd "PWAVE" "SEA SURFACE PEAK WAVE PERIOD" "s"
Then I interpolated new variables (which I downloaded from ERA5 dataset) on WRF grids and save it in NC file using NCL and then modify solve_em.F to read data from this NC file. But now when I want to assign these values to the defined variables in the WRF, I see that the dimensions of variables in the surface layer schemes ate different.
I interpolated data on "ids, ide, jds, jde" but modules in WRF read data on "ims, ime, jms, jme".
I don’t know what is "ims, ime, jms, jme" and how to convert dimensions of new variables to these dimensions.
I want to know how to solve this problem? And is the method I used to read new data in the WRF modules correct?
Regards
Mohammadreza