Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vsnpp_oc_7d_gom failing : outer axis overlap #48

Open
7yl4r opened this issue May 2, 2023 · 3 comments
Open

vsnpp_oc_7d_gom failing : outer axis overlap #48

7yl4r opened this issue May 2, 2023 · 3 comments
Assignees

Comments

@7yl4r
Copy link
Member

7yl4r commented May 2, 2023

error from DasDds.sh:

*** An error occurred while trying to load vsnpp_oc_7d_gom:
java.lang.RuntimeException: datasets.xml error on or before line #280: Outer axis overlap between files.
max=1429.0 for /mnt/sdb/vsnpp_oc_7d_gom/VSNPP_2012003_2012007_7D_GOM_OC.nc
is greater than
min=0.0 for /mnt/sdb/vsnpp_oc_7d_gom/VSNPP_2012008_2012014_7D_GOM_OC.nc
 at gov.noaa.pfel.erddap.dataset.EDD.fromXml(EDD.java:471)
 at gov.noaa.pfel.erddap.dataset.EDD.oneFromDatasetsXml(EDD.java:551)
 at gov.noaa.pfel.erddap.dataset.EDD.testDasDds(EDD.java:11153)
 at gov.noaa.pfel.erddap.DasDds.doIt(DasDds.java:131)
 at gov.noaa.pfel.erddap.DasDds.main(DasDds.java:157)
Caused by: java.lang.RuntimeException: Outer axis overlap between files.
max=1429.0 for /mnt/sdb/vsnpp_oc_7d_gom/VSNPP_2012003_2012007_7D_GOM_OC.nc
is greater than
min=0.0 for /mnt/sdb/vsnpp_oc_7d_gom/VSNPP_2012008_2012014_7D_GOM_OC.nc
@7yl4r
Copy link
Member Author

7yl4r commented May 2, 2023

similar issue is seen on:

  • vsnpp_sstn_7d_gom
  • moda_sst4_7d_gom
  • vsnpp_sst_7d_gom

@ralsei38
Copy link

ralsei38 commented Aug 29, 2023

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 😆

Have a good day !

@7yl4r
Copy link
Member Author

7yl4r commented Sep 1, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants