Skip to content

Ag InputCosts query return empty table #81

Description

@rubcalvo

Dear all, I'm trying to use a new query to extract Input Costs from the Ag Production module, but it results in an empty table.

  <aQuery>
  <all-regions/>
  <query title="ag tech input cost">
         <axis1 name="technology">technology</axis1>
         <axis2 name="Year">technology</axis2>
         <xPath buildList="true" dataName="inputCosts" group="false" sumAll="false">*[@type='sector' and (local-name()='AgSupplySector')]/*[@type='subsector']/*[@type='technology']/inputCosts/text()</xPath>
         <comments/>
  </query>
  </aQuery>

This query is based on one included in Main_queries.xml from GCAM Core that works fine.

  <aQuery>
  <all-regions/>
  <query title="ag tech variable cost">
         <axis1 name="technology">technology</axis1>
         <axis2 name="Year">technology</axis2>
         <xPath buildList="true" dataName="nonLandVariableCost" group="false" sumAll="false">*[@type='sector' and (local-name()='AgSupplySector')]/*[@type='subsector']/*[@type='technology']/nonLandVariableCost/text()</xPath>
         <comments/>
  </query>
  </aQuery>

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions