Skip to content

ERDDAP defers loading child dataset for EDDGridLonPM180 #440

@SethChampagneNRL

Description

@SethChampagneNRL

I am using the EDDGridLonPM180 dataset to correct longitudes in several of our datasets. When I start ERDDAP from a fresh state, my dataset never loads. There is no error, but a log message that ERDDAP is deferring loading the child dataset.

(example snippet is using the sax parser with xinclude)

<?xml version="1.0" encoding="ISO-8859-1"?>
<dataset type="EDDGridLonPM180" datasetID="corrected-dataset-180to180" active="true">
    <dataset type="EDDGridFromNcFiles" datasetID="original-dataset-0to360">
    <!-- dataset definition -->
    </dataset>
</dataset>

Messing with the code, I found the config property forceSynchronousLoading. If I set this to true, then the datasets load correctly. This config property is not accessible to the setup.xml since it looks like it was used for debugging, but I could make the change to add it.

Am I configuring ERDDAP incorrectly? Is this expected behavior? Why does the dataset get deferred on starting ERDDAP?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions