Dear forum,
Maybe this is not a question, not to be posted here, but it might be of utility to anyone else.
I am currently working on the version 2 of the CORDEX-WRF module (CDXWRF - Wikicima, Fita et al 2019, GMD).
In this new version I would like to introduce a new diagnostic in the output which is 4-dimensional: (west_east, south_north, dimA, dimB). Up to now I only have seen 3-dimensional variables such as (west_east, south_north, bottom_top).
I spend some time diving in the code in the various I/O modules of the model:
I am wondering if WRF does have the capability to have in the output a 4-dimensionl variable + Time? Right now I can compute the diagnostic, but it is not written in the output and simulation crashes with a segmentation fall and the creation of a
Thank you,
Lluís
Maybe this is not a question, not to be posted here, but it might be of utility to anyone else.
I am currently working on the version 2 of the CORDEX-WRF module (CDXWRF - Wikicima, Fita et al 2019, GMD).
In this new version I would like to introduce a new diagnostic in the output which is 4-dimensional: (west_east, south_north, dimA, dimB). Up to now I only have seen 3-dimensional variables such as (west_east, south_north, bottom_top).
I spend some time diving in the code in the various I/O modules of the model:
frame/module_io.f90, external/io_netcdf/wrf_io.F90, ...
and it does not seems to me (as fr I understood), that there is any 'easy' way to do it. It seems that it would require a lot of coding, as far as increasing the PARAMTER NVarDims
(from the external/io_netcdf/wrf_io.F90
).I am wondering if WRF does have the capability to have in the output a 4-dimensionl variable + Time? Right now I can compute the diagnostic, but it is not written in the output and simulation crashes with a segmentation fall and the creation of a
core
fileThank you,
Lluís