legacy/src/main/java/thredds/catalog/InvCatalogRef.java
@Override
  public java.util.List<InvDataset> getDatasets() {
    read();
    return useProxy ? proxy.getDatasets() : super.getDatasets();
  }
@Override
  public java.util.List<InvDataset> getDatasets() {
    read();
    return useProxy ? proxy.getDatasets() : super.getDatasets();
  }
Get a list of all the nested datasets.
@return Datasets. This triggers a read of the referenced catalog the first time its called.