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

How to reduce the space occupied by wrfout files?

hliu20

New member
Hi everyone,
Because my wrfout files are taking up too much storage space, with a spatial resolution of 201*170*50 and a temporal resolution of 1 hours (Due to other limitations, I can't increase the temporal resolution), covering a total of 5 years of simulation, I have reduced the output variables in WRF. However, the output files are still very large.
I hope to specify the number of vertical levels in WRF output. For example, if the WRF simulation has 50 vertical levels, but only the bottom 5 layers are recorded in the wrfout files. How to configure namelist.input or modify the Registry to achieve this functionality?​
 

Attachments

  • namelist.input
    4.3 KB · Views: 0
WRF has no capability to save data on selected vertical levels. To reduce the file size, you have to reduce the number of variables you save in wrfout. For example, you can exclude the variable "RAINSH" in wrfout by changing the line below in Registry.EM_COMMON

from

state real RAINSH ij misc 1 - rh01du "RAINSH" "ACCUMULATED SHALLOW CUMULUS PRECIPITATION"

to

state real RAINSH ij misc 1 - rdu "RAINSH" "ACCUMULATED SHALLOW CUMULUS PRECIPITATION"

You can follow the same procesure to remove other variables you don't need (delete 'h' in 8th column of the state variable)

Then recompile WRF ( remember to do ./clean -a first).

Hope this is helpful.
 
Top