GCAM7.0 errors: unable to query GDP
Unable to query GDP in modelinterface witin gcam 7.0 version.
GDP will be under socioeconomics / National Account
I can find the relevant flow in query.xml, but not in modelinterface.
Your model interface is likely pointing to a Main_queries.xml in an older workspace. You can look for a model_interface.properties file and edit that. Within there you will see something like:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties>
<comment>TODO: add comments</comment>
<entry key="remove1975">true</entry>
<entry key="queryFile">/Users/pralitp/model/gcam-github/output/queries/Main_queries.xml</entry>
<entry key="queriesSplit">466</entry>
Make sure the "queryFile" is pointing to the appropriate place.
Your model interface is likely pointing to a
Main_queries.xmlin an older workspace. You can look for amodel_interface.propertiesfile and edit that. Within there you will see something like:<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd"> <properties> <comment>TODO: add comments</comment> <entry key="remove1975">true</entry> <entry key="queryFile">/Users/pralitp/model/gcam-github/output/queries/Main_queries.xml</entry> <entry key="queriesSplit">466</entry>Make sure the "queryFile" is pointing to the appropriate place.
I've got it, problem solved, thanks for your advice!
Hi, I am having a similar issue (unable to query GDP) but I am using Mac version and I don't find "model_interface.properties" file in Mac version of GCAM. Can someone help me how to resolve this issue in Mac version?