Fetching and plotting vertical magnetic fields

Hi SimPEG users and developers,

I have a question about how to fetch and plot vertical magnetic fields when an electric dipole source is used. I use a 2d cylindrical model. Both sources and receivers are placed below the air-earth surface. I was able to extract horizontal and vertical electric fields and plot them. A script for extracting the magnetic fields are basically same as those for the electric fields. I was able to grab the horizontal magnetic fields but couldn’t do the same for the vertical magnetic fields.
I assume that my script has a mistake leading to this error. One can read the script from the link:
https://drive.google.com/drive/folders/14kOmXBLldLGbvcGnyLfrv2KkCrry9Snz?usp=sharing
I would like to hear your opinion. Thank you for reading this.

Best regards,
Evan