I've noticed for a while that sometimes the warnings printed in the CDF editor dialog are incorrect, and Arnaud asked about this too, spurring me to finally look into this. For example, he has
Data__C1_CP_PEA_3DRH_cnts[565,16,6,16] which as rank 2 DEPEND_1 Sweep_Azimuth...[565,16],
which is correct but the dialog shows the warning "DEPEND_2 length (16) is inconsistent with length (6)".
See sftp://jfaden.net/home/jbf/ct/autoplot/u/2019/arnaud/20191120.
It looks like the wrong variable was used to get the dimension length (the dependent one, not the independent one), and this is fixed.
Ivar pointed out a file where LABL_PTR_2 wasn't handled properly, and this is now handled properly. It was comparing to the number of records. See https://cottagesystems.com/~jbf/autoplot/jenkins_data/cdf/warnings/test1a.cdf