if (datasetIds.daily) {
            numAlertsResponse = await DatasetService.queryDataset(datasetIds.daily, alertQuery, queryParams);
        } else {
            numAlertsResponse = await DatasetService.queryDataset(datasetIds.all, alertQuery, queryParams, geostore);
        }