I am attempting to make my modifications to wrf less buggy/more streamlined. As it stands, I have a few namelist variables that I have added but one of them is kind of redundant and if it is not set correctly in the namelist, things won't work properly.
This is a portion of the working registry.dimspec file in working order now (all three variables are single integers):
dimspec ns 2 namelist=n_src z nsrc
dimspec nt - namelist=nt_release c ntrelease
dimspec ntns - namelist=nt_ns c ntnsrc
The variable nt_ns is nothing but namelist variables n_src and nt_release multiplied together. I wish to remove nt_ns altogether from the namelist and correctly get wrf to formulate it in some way.
Such as:
dimspec ns 2 namelist=n_src z nsrc
dimspec nt - namelist=nt_release c ntrelease
dimspec ntns - namelist=nt_release*n_src c ntnsrc
This doesn't work obviously, but is there some sort of way to allocate dimensions in the registry by way of mathematical operations of other namelist variables?
Thanks!
-Scott