Skip to content

Commit

Permalink
Remove getting the licences from the catalogue (#248)
Browse files Browse the repository at this point in the history
Something is wrong with the licences in the catalogue, it is returning a character array that causes an error when writing the netCDF.
  • Loading branch information
garciampred authored Dec 11, 2024
1 parent 7ca52a2 commit 7859b5f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cads_adaptors/adaptors/cadsobs/adaptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,10 +67,7 @@ def retrieve_list_of_results(self, request: Request) -> list[str]:
service_definition = cadsobs_client.get_service_definition(dataset_name)
field_attributes = cdm_lite_variables_dict["attributes"]
global_attributes = service_definition["global_attributes"]
# Get licences from the config passed to the adaptor
global_attributes.update(
dict(licence_list=self.get_licences(self.mapped_request))
)
# TODO: Get licences from the config passed to the adaptor
self.context.debug(
f"The following objects are going to be filtered: {object_urls}"
)
Expand Down

0 comments on commit 7859b5f

Please sign in to comment.