Main Content
cdflib.getCopyright
Copyright notice in Common Data Format (CDF) file
Syntax
copyright = cdflib.getCopyright(cdfId)
Description
copyright = cdflib.getCopyright(cdfId)
returns the copyright notice in the CDF file identified by cdfId
.
Examples
Create a CDF file, and then get the copyright notice in the file. To run this example, you must be in a writable folder.
cdfId = cdflib.create("your_file.cdf");
copyright = cdflib.getCopyright(cdfId)
copyright = ' Common Data Format (CDF) https://cdf.gsfc.nasa.gov Space Physics Data Facility NASA/Goddard Space Flight Center Greenbelt, Maryland 20771 USA '
% Clean up cdflib.delete(cdfId) clear cdfId
Tips
This function corresponds to the CDF library C API routine
CDFgetCopyright
.To use this function, you must be familiar with the CDF C interface. You can access the CDF documentation at the CDF website.