5d array in Registry

Ideas, problems or suggestions regarding the WRF software.

5d array in Registry

Postby mcemsg » Fri Jun 22, 2018 3:41 pm


I tried and failed to add a 5d array in the registry. It should be xyz and two new non gridded dimensions. It seemed to be fine. It was allocated correctly and I could use it in the code, but i never managed to get the output in the history file. After searching around I now came to the conclusion that it is not possible. I can have at most 4D and I have to package them up, as in moist. Correct?

I have now written a script which will add nxm new fields to the registry, where n and m are my two dimension extents. These are then indirectly accessed by an array of derived type pointers. It works. Its not pretty and a bit slow. I am wondering: do I now do a halo exchange on all of these fields? Can I switch it off? Failed to find that functionality so far.

Many thanks for any hints and comments!
Best wishes,
Posts: 1
Joined: Fri Jun 22, 2018 3:32 pm

Re: 5d array in Registry

Postby enzo_lbdc » Mon Dec 02, 2019 5:51 am

Hi @mcemsg,

I am currently facing a similar problem.

Have you found a solution regarding your 5d variables ?

All the best,

Posts: 16
Joined: Mon Mar 25, 2019 12:43 pm

Return to Software Engineering

Who is online

Users browsing this forum: No registered users and 0 guests