Skip to content

Report json error modified for OECD_Waste_Water_Treatment - #2197

Open
saanikaaa wants to merge 2 commits into
datacommonsorg:masterfrom
saanikaaa:oecd_job_fix
Open

Report json error modified for OECD_Waste_Water_Treatment#2197
saanikaaa wants to merge 2 commits into
datacommonsorg:masterfrom
saanikaaa:oecd_job_fix

Conversation

@saanikaaa

@saanikaaa saanikaaa commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

The cloud job for this import was failing due to error in report.json of invalid character present in statvar.mcf file generated by statvar_processor.py script.
To resolve the issue we have replaced double double quoted("") in name property to triple double quoted(""") in the pvmap.
Tested genmcf on the output generated post the fix and it shows zero errors and warning are expected.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request replaces double-double quotes with single quotes in the oecd_wastewatertreatment_pvmap.csv file. However, using single quotes will result in invalid MCF syntax in the generated MCF file, as MCF string values must be enclosed in double quotes. To resolve this, you should use standard CSV escaping with triple double-quotes instead.

Comment thread statvar_imports/oecd/wastewater_treatment/oecd_wastewatertreatment_pvmap.csv Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant