Hello again! This is somewhat related to my previous issue (#196). When using the export_dreq_lists_json command line function, the dq.get_requested_variables call is forced to check for core variables (check_core_variables=True), so it fails for any opportunities that do not include those (e.g., 20 - Core Climate Services):
export_dreq_lists_json -i 20 v1.2.2.2 test.json
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.14/bin/export_dreq_lists_json", line 7, in
sys.exit(main())
~~~~^^
File "/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/data_request_api/command_line/export_dreq_lists_json.py", line 149, in main
expt_vars = dq.get_requested_variables(base, use_dreq_version,
use_opps=use_opps, priority_cutoff=args.priority_cutoff,
verbose=False)
File "/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/data_request_api/query/dreq_query.py", line 616, in get_requested_variables
raise ValueError(msg)
ValueError: Empty Core variables list for experiment: scenariomip14
Hello again! This is somewhat related to my previous issue (#196). When using the export_dreq_lists_json command line function, the dq.get_requested_variables call is forced to check for core variables (check_core_variables=True), so it fails for any opportunities that do not include those (e.g., 20 - Core Climate Services):
export_dreq_lists_json -i 20 v1.2.2.2 test.json
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.14/bin/export_dreq_lists_json", line 7, in
sys.exit(main())
~~~~^^
File "/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/data_request_api/command_line/export_dreq_lists_json.py", line 149, in main
expt_vars = dq.get_requested_variables(base, use_dreq_version,
use_opps=use_opps, priority_cutoff=args.priority_cutoff,
verbose=False)
File "/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/data_request_api/query/dreq_query.py", line 616, in get_requested_variables
raise ValueError(msg)
ValueError: Empty Core variables list for experiment: scenariomip14