Fixed an issue regarding non 3D array inputs.
Fixed an issue regarding non 3D array inputs.

alex-ip/agdc,GeoscienceAustralia/agdc,ama-jharrison/agdc,GeoscienceAustralia/agdc,sixy6e/agdc,jeremyh/agdc,jeremyh/agdc,smr547/agdc,alex-ip/agdc,smr547/agdc,sixy6e/agdc,ama-jharrison/agdc