-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Icebox: Migrate to new Zenodo InvenioRDM API #184
Changes from 21 commits
39d27c8
939d6ef
afbda4b
8488c66
eb284a6
10a0e09
78016bc
0f20caf
e9e9f18
3ac4191
eb7e52c
d44fc8f
e268345
42750f1
f4bcda9
a1aab47
1775721
3a1a268
f3e5edb
be9db31
f4105ba
86bf3d0
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,51 @@ | ||
censusdp1tract: | ||
production_doi: 10.5281/zenodo.4127048 | ||
sandbox_doi: 10.5072/zenodo.1151526 | ||
sandbox_doi: 10.5281/zenodo.123456 | ||
eia176: | ||
production_doi: 10.5281/zenodo.7682357 | ||
sandbox_doi: 10.5072/zenodo.1168394 | ||
sandbox_doi: 10.5281/zenodo.123456 | ||
eia860: | ||
production_doi: 10.5281/zenodo.4127026 | ||
sandbox_doi: 10.5072/zenodo.672209 | ||
sandbox_doi: 10.5281/zenodo.123456 | ||
eia860m: | ||
production_doi: 10.5281/zenodo.4281336 | ||
sandbox_doi: 10.5072/zenodo.692654 | ||
sandbox_doi: 10.5281/zenodo.8188016 | ||
eia861: | ||
production_doi: 10.5281/zenodo.4127028 | ||
sandbox_doi: 10.5072/zenodo.672198 | ||
sandbox_doi: 10.5281/zenodo.823125 | ||
eia923: | ||
production_doi: 10.5281/zenodo.4127039 | ||
sandbox_doi: 10.5072/zenodo.672220 | ||
sandbox_doi: 10.5281/zenodo.8172817 | ||
eia_bulk_elec: | ||
production_doi: 10.5281/zenodo.7067366 | ||
sandbox_doi: 10.5072/zenodo.1103571 | ||
sandbox_doi: 10.5281/zenodo.10003268 | ||
eiawater: | ||
production_doi: 10.5281/zenodo.7683135 | ||
sandbox_doi: 10.5072/zenodo.1161347 | ||
sandbox_doi: 10.5281/zenodo.123456 | ||
epacamd_eia: | ||
production_doi: 10.5281/zenodo.6633769 | ||
sandbox_doi: 10.5072/zenodo.1072000 | ||
sandbox_doi: 10.5281/zenodo.7900973 | ||
epacems: | ||
production_doi: 10.5281/zenodo.4127054 | ||
sandbox_doi: 10.5072/zenodo.1228518 | ||
sandbox_doi: 10.5281/zenodo.123456 | ||
ferc1: | ||
production_doi: 10.5281/zenodo.4127043 | ||
sandbox_doi: 10.5072/zenodo.1114564 | ||
sandbox_doi: 10.5281/zenodo.8234737 | ||
ferc2: | ||
production_doi: 10.5281/zenodo.5879542 | ||
sandbox_doi: 10.5072/zenodo.1096046 | ||
sandbox_doi: 10.5281/zenodo.8006880 | ||
ferc6: | ||
production_doi: 10.5281/zenodo.7126395 | ||
sandbox_doi: 10.5072/zenodo.1114637 | ||
sandbox_doi: 10.5281/zenodo.7130140 | ||
ferc60: | ||
production_doi: 10.5281/zenodo.7126434 | ||
sandbox_doi: 10.5072/zenodo.1114668 | ||
sandbox_doi: 10.5281/zenodo.123456 | ||
ferc714: | ||
production_doi: 10.5281/zenodo.4127100 | ||
sandbox_doi: 10.5072/zenodo.1114673 | ||
sandbox_doi: 10.5281/zenodo.7139874 | ||
mshamines: | ||
production_doi: 10.5281/zenodo.7683517 | ||
sandbox_doi: 10.5072/zenodo.1158828 | ||
sandbox_doi: 10.5281/zenodo.7683517 | ||
phmsagas: | ||
production_doi: 10.5281/zenodo.7683351 | ||
sandbox_doi: 10.5072/zenodo.1161321 | ||
sandbox_doi: 10.5281/zenodo.7683351 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,6 +65,11 @@ def parse_main(): | |
help="Directory to download files to. Use tmpdir if not specified.", | ||
default=None, | ||
) | ||
parser.add_argument( | ||
"--refresh-metadata", | ||
action="store_true", | ||
help="Regenerate metadata from PUDL data source rather than existing archived metadata.", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is the Zenodo metadata, like "creators", "communities", "DOI" etc? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, creators, title, keywords, basically all metadata. The outcome is the same as if we'd run |
||
) | ||
return parser.parse_args() | ||
|
||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Out of scope: we should stick
mypy
in the pre-commit config so these sorts of type errors don't slip through in the future. This will probably mean fixing a ton of type errors in a separate PR before we can do that.