To add or update license headers in this or other Open Data Cube projects, you can do the following:
Download the tool from https://github.com/johann-petrak/licenseheaders and make it executable.
wget https://raw.githubusercontent.com/johann-petrak/licenseheaders/master/licenseheaders.py
chmod +x licenseheaders.py
Change the sections on python
files, to remove the headerStartLine
and
headerEndLine
, like:
"headerStartLine": "",
"headerEndLine": "",
Run the tool:
python3 ./licenseheaders.py --tmpl license-template.txt --years 2017-2020 --ext py