Hello beautiful community,
I am currently working at a research university oriented towards wind energy. As part of the project, I want to modify WRF source code, and additionally I am just interested in learning the inner workings of numerical models like WRF.
My question is: what are the differences between different Registry files? I.e., if I want to define a new variable, which file I should define it in? I have already followed the YouTube videos that detail the role of Registry, and I have managed to define new namelist options and fields and accessed them within the source code. However, all of that was done within the EM_COMMON Registry file.
Now, however, I want to define a new 2d, time-variable input field which is masked by land, very much like SST. I managed to use a python package to write the field into intermediate files (so the field is in met_em files). Since wrflowinp file is the only way to have time-varying surface boundary input (as far as I am aware), I want to put the new field in there.
To do that, I plan to use the SST template, but SST is defined in EM, and not EM_COMMON? This comes back to the question: what is the difference between different Registry files?
FInal question is: I see there are two fields in EM, SST and SST_INPUT, what is the difference between the two, is the SST a copy of SST_INPUT from the met_em files? Is it advisable to make a similar thing for my new field? For now I just want to make the field appear in the history, so I know that the field is in the grid construct, and I can access it within the source code by using grid%myfield.
I am currently working at a research university oriented towards wind energy. As part of the project, I want to modify WRF source code, and additionally I am just interested in learning the inner workings of numerical models like WRF.
My question is: what are the differences between different Registry files? I.e., if I want to define a new variable, which file I should define it in? I have already followed the YouTube videos that detail the role of Registry, and I have managed to define new namelist options and fields and accessed them within the source code. However, all of that was done within the EM_COMMON Registry file.
Now, however, I want to define a new 2d, time-variable input field which is masked by land, very much like SST. I managed to use a python package to write the field into intermediate files (so the field is in met_em files). Since wrflowinp file is the only way to have time-varying surface boundary input (as far as I am aware), I want to put the new field in there.
To do that, I plan to use the SST template, but SST is defined in EM, and not EM_COMMON? This comes back to the question: what is the difference between different Registry files?
FInal question is: I see there are two fields in EM, SST and SST_INPUT, what is the difference between the two, is the SST a copy of SST_INPUT from the met_em files? Is it advisable to make a similar thing for my new field? For now I just want to make the field appear in the history, so I know that the field is in the grid construct, and I can access it within the source code by using grid%myfield.