pcmdi_metrics icon indicating copy to clipboard operation
pcmdi_metrics copied to clipboard

[Feature]: Port cdat_info dependencies to PMP

Open acordonez opened this issue 1 year ago • 0 comments

Is your feature request related to a problem?

PMP is currently dependent on cdat_info, which has been sunsetted. We need an alternative to using cdat_info for downloading sample data files and generating provenance.

Here are references to where the PMP calls cdat_info:

download_sample_data_files: PMP ex1, ex2, source generate_provenance: PMP, source get_sampledata_path: PMP (deprecated but listing for completion), source

Describe the solution you'd like

cdat_info uses the same license as the PMP (BSD-3 Clause), a license which would let us reuse cdat_info source code. I propose copying over the download_sample_data_files and generate_provenance functions to the PMP. They may need some changes to integrate with the PMP, but this looks reasonable to me.

Describe alternatives you've considered

We could look for other libraries or build custom solutions from scratch, but those would both likely take more time and effort.

Additional context

No response

acordonez avatar Nov 29 '23 00:11 acordonez