Open 7yl4r opened 1 year ago
similar issue is seen on:
Hello,
I encounter the same error unfortunately, if you have any ideas I'd be grateful to learn how to overcome this issue.
max=20803.0 for ... is greater than min=20468.0
I might be speaking nonesense as I did not dig into the code, but could the issue be related to this condition from the EDDGridFromFiles.java
?
for (int f = 1; f < nFiles; f++) { //1 since looking backward
//min max overlap?
if (ftMax.get(f - 1) > ftMin.get(f))
throw new RuntimeException("Outer axis overlap between files.\n" +
"max=" + ftMax.get(f-1) + " for " + dirList.get(ftDirIndex.get(f-1)) + ftFileList.get(f-1) + "\n" +
"is greater than\n" +
"min=" + ftMin.get(f) + " for " + dirList.get(ftDirIndex.get(f )) + ftFileList.get(f ) + "\n");
}
if max > min throw an error ??!
This part of the code is around 8 years old so there is few chances but it looks a bit odd from my point of view :laughing:
Have a good day !
I do think that is the section of the code throwing the error, however, the cause of the error is usually due to something wrong in the datasets.xml file. The min+max are typically set there and then compared to the actual values in the chunk of code you have linked.
error from DasDds.sh: