Skip to content

Commit

Permalink
fix #371 #346 missing ncml/ncdf entity handler refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
eblondel committed Oct 12, 2023
1 parent ec5eb1f commit ef76afc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions inst/metadata/entity/entity_handler_thredds.R
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ handle_entities_thredds <- function(handler, source, config){

if(!is.null(ncml_uri)){
config$logger.info(sprintf("NCML URL for '%s': %s", data$url, ncml_uri))
entity <- handle_entities_ncml(config,ncml_uri)[[1]]
entity <- handle_entities_ncml(handler,ncml_uri,config)[[1]]
} else if (!is.null(odap_uri)){
config$logger.info(sprintf("OpenDAP URL for '%s': %s", data$url, odap_uri))
entity <- handle_entities_ncdf(config,odap_uri)[[1]]
entity <- handle_entities_ncdf(handler,odap_uri,config)[[1]]
}else{
errMsg <- sprintf("No OpenDAP or NCML service for Thredds '%s'", thredds$url)
config$logger.error(errMsg)
Expand Down

0 comments on commit ef76afc

Please sign in to comment.