I noticed with a script I was doing with Sadie that some codes that I thought would work didn't, and I can see now that this was not thoroughly implemented. A code needs to be developed that includes tests for all branches of operators. This should include:
datum datum -> datum
datum rank0ds -> rank0ds
datum rankNds -> rankNds
rank0ds rank0ds -> rank0ds
rank0ds rankNds -> rankNds
rank1ds rank2ds -> rank2ds
rankNds rankNds -> rankNds
rank0ds datum -> rank0ds
rankNds datum-> rankNds
rankNds rank0ds -> rankNds
etc
These should include non-dimensionless units and time location units.
See also https://sourceforge.net/p/autoplot/bugs/1691/
See sftp://jfaden.net/home/jbf/project/autoplot/bugs/1753/demoAllOps.jy
Note there has never been support for DatumRanges, but there should be.