Last active
September 21, 2024 01:17
-
-
Save spikesolution/3d735cb956af6129c5c5697340a7e03b to your computer and use it in GitHub Desktop.
Shell script to download Verra Registry CSV data for Toucan-retired carbon offsets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script to download Toucan-retired VCU data from the Verra Registry. | |
# The Verra API does not allow filtering on the value of "Retirement reason", | |
# so we have to download CSV data for all "retired" VCUs, and then filter | |
# those to get ones which mention the string 'TOUCAN'. | |
# | |
# NB: The string 'TOUCAN' appears at the start of the "Retirement reason" column | |
# for projects which were retired via the Toucan Bridge. However, if the | |
# same string appears in any other column, for unrelated reasons, that data | |
# will also be included in the final CSV file. | |
# | |
# By default, the script creates a 'verra.csv' file containing the CSV data | |
# for all retired offsets (as at 2021-10-28, this is 39MB), and a 'toucan.csv' | |
# file containing the data for Toucan-retired VCUs. | |
# | |
# As at 2021-10-28 the verra.csv file is approx. 39MB, and the script takes | |
# just over 7 minutes to run. | |
set -euo pipefail | |
FULL_CSV=verra.csv | |
TOUCAN_CSV=toucan.csv | |
fetch_data() { | |
curl 'https://registry.verra.org/uiapi/asset/asset/search?$skip=0&count=true&$format=csv' \ | |
-X POST \ | |
-H 'Content-Type: application/json' \ | |
--compressed \ | |
--data-raw '{"program":"VCS","assetStatus":"RETIRED"}' | |
} | |
fetch_data > ${FULL_CSV} | |
head -1 ${FULL_CSV} > ${TOUCAN_CSV} # Get the CSV header line | |
grep TOUCAN ${FULL_CSV} >> ${TOUCAN_CSV} # Filter projects that mention "TOUCAN" (should be in the 'Retirement reason' column) | |
echo "Toucan VCU data downloaded to: ${TOUCAN_CSV}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
UNFCCC Methodology Code | Title | |
---|---|---|
AM0001 | Decomposition of fluoroform (HFC-23) waste streams | |
AM0002 | Greenhouse gas emission reductions through landfill gas capture and flaring where the baseline is established by a public concession contract | |
AM0003 | Simplified financial analysis for landfill gas capture projects | |
AM0004 | Grid-connected biomass power generation that avoids uncontrolled burning of biomass | |
AM0005 | Small grid-connected zero-emissions renewable electricity generation | |
AM0006 | GHG emission reductions from manure management systems | |
AM0007 | Analysis of the least-cost fuel option for seasonally-operating biomass cogeneration plants | |
AM0008 | Industrial fuel switching from coal and petroleum fuels to natural gas without extension of capacity and lifetime of the facility | |
AM0009 | Recovery and utilization of gas from oil fields that would otherwise be flared or vented | |
AM0010 | Landfill gas capture and electricity generation projects where landfill gas capture is not mandated by law | |
AM0011 | Landfill gas recovery with electricity generation and no capture or destruction of methane in the baseline scenario | |
AM0012 | Biomethanation of municipal solid waste in India, using compliance with MSW rules | |
AM0013 | Avoided methane emissions from organic waste-water treatment | |
AM0014 | Fossil fuel based cogeneration for identified recipient facility(ies) | |
AM0015 | Bagasse-based cogeneration connected to an electricity grid | |
AM0016 | Greenhouse gas mitigation from improved animal waste management systems in confined animal feeding operations | |
AM0017 | Steam system efficiency improvements by replacing steam traps and returning condensate | |
AM0018 | Baseline methodology for steam optimization systems | |
AM0019 | Renewable energy projects replacing part of the electricity production of one single fossil fuel fired power plant that stands alone or supplies to a grid, excluding biomass projects | |
AM0020 | Baseline methodology for water pumping efficiency improvements | |
AM0021 | Baseline Methodology for decomposition of N2O from existing adipic acid production plants | |
AM0022 | Avoided Wastewater and On-site Energy Use Emissions in the Industrial Sector | |
AM0023 | Leak detection and repair in gas production, processing, transmission, storage and distribution systems and in refinery facilities | |
AM0024 | Baseline methodology for greenhouse gas reductions through waste heat recovery and utilization for power generation at cement plants | |
AM0025 | Alternative waste treatment processes | |
AM0026 | Methodology for zero-emissions grid-connected electricity generation from renewable sources in Chile or in countries with merit order based dispatch grid | |
AM0027 | Substitution of CO2 from fossil or mineral origin by CO2 from renewable sources in the production of inorganic compounds | |
AM0028 | N2O destruction in the tail gas of Caprolactam production plants | |
AM0029 | Baseline Methodology for Grid Connected Electricity Generation Plants using Natural Gas | |
AM0030 | PFC emission reductions from anode effect mitigation at primary aluminium smelting facilities | |
AM0031 | Bus rapid transit projects | |
AM0032 | Methodology for waste gas or waste heat based cogeneration system | |
AM0033 | Use of non-carbonated calcium sources in the raw mix for cement processing | |
AM0034 | Catalytic reduction of N2O inside the ammonia burner of nitric acid plants | |
AM0035 | SF6 emission reductions in electrical grids | |
AM0036 | Fuel switch from fossil fuels to biomass residues in heat generation equipment | |
AM0037 | Flare (or vent) reduction and utilization of gas from oil wells as a feedstock | |
AM0038 | Methodology for improved electrical energy efficiency of an existing submerged electric arc furnace used for the production of silicon and ferro alloys | |
AM0039 | Methane emissions reduction from organic waste water and bioorganic solid waste using co-composting | |
AM0040 | Baseline and monitoring methodology for project activities using alternative raw materials that contain carbonates in clinker manufacturing in cement kilns | |
AM0041 | Mitigation of Methane Emissions in the Wood Carbonization Activity for Charcoal Production | |
AM0042 | Grid-connected electricity generation using biomass from newly developed dedicated plantations | |
AM0043 | Leak reduction from a natural gas distribution grid by replacing old cast iron pipes or steel pipes without cathodic protection with polyethylene pipes | |
AM0044 | Energy efficiency improvement projects - boiler rehabilitation or replacement in industrial and district heating sectors | |
AM0045 | Grid connection of isolated electricity systems | |
AM0046 | Distribution of efficient light bulbs to households | |
AM0047 | Production of biodiesel based on waste oils and/or waste fats from biogenic origin for use as fuel | |
AM0048 | New cogeneration project activities supplying electricity and heat to multiple costumers | |
AM0049 | Methodology for gas based energy generation in an industrial facility | |
AM0050 | Feed switch in integrated Ammonia-urea manufacturing industry | |
AM0051 | Secondary catalytic N2O destruction in nitric acid plants | |
AM0052 | Increased electricity generation from existing hydropower stations through Decision Support System optimization | |
AM0053 | Biogenic methane injection to a natural gas distribution grid | |
AM0054 | Energy efficiency improvement of a boiler by introducing oil/water emulsion technology | |
AM0055 | Recovery and utilization of waste gas in refinery or gas plant | |
AM0056 | Efficiency improvement by boiler replacement or rehabilitation and optional fuel switch in fossil fuel-fired steam boiler systems | |
AM0057 | Avoided emissions from biomass wastes through use as feed stock in pulp and paper, cardboard, fibreboard or bio-oil production | |
AM0058 | Introduction of a new primary district heating system | |
AM0059 | Reduction in GHGs emission from primary aluminium smelters | |
AM0060 | Power saving through replacement by energy efficient chillers | |
AM0061 | Methodology for rehabilitation and/or energy efficiency improvement in existing power plants | |
AM0062 | Energy efficiency improvements of a power plant through retrofitting turbines | |
AM0063 | Recovery of CO2 from tail gas in industrial facilities to substitute the use of fossil fuels for production of CO2 | |
AM0064 | Capture and utilisation or destruction of mine methane (excluding coal mines) or non mine methane | |
AM0065 | Replacement of SF6 with alternate cover gas in the magnesium industry | |
AM0066 | GHG emission reductions through waste heat utilisation for pre-heating of raw materials in sponge iron manufacturing process | |
AM0067 | Methodology for installation of energy efficient transformers in a power distribution grid | |
AM0068 | Methodology for improved energy efficiency by modifying ferroalloy production facility | |
AM0069 | Biogenic methane use as feedstock and fuel for town gas production | |
AM0070 | Manufacturing of energy efficient domestic refrigerators | |
AM0071 | Manufacturing and servicing of domestic refrigeration appliances using a low GWP refrigerant | |
AM0072 | Fossil Fuel Displacement by Geothermal Resources for Space Heating | |
AM0073 | GHG emission reductions through multi-site manure collection and treatment in a central plant | |
AM0074 | Methodology for new grid connected power plants using permeate gas previously flared and/or vented | |
AM0075 | Methodology for collection, processing and supply of biogas to end-users for production of heat | |
AM0076 | Implementation of fossil fuel trigeneration systems in existing industrial facilities | |
AM0077 | Recovery of gas from oil wells that would otherwise be vented or flared and its delivery to specific end-users | |
AM0078 | Point of Use Abatement Device to Reduce SF6 emissions in LCD Manufacturing Operations | |
AM0079 | Recovery of SF6 from Gas insulated electrical equipment in testing facilities | |
AM0080 | Mitigation of greenhouse gases emissions with treatment of wastewater in aerobic wastewater treatment plants | |
AM0081 | Flare or vent reduction at coke plants through the conversion of their waste gas into dimethyl ether for use as a fuel | |
AM0082 | Use of charcoal from planted renewable biomass in a new iron ore reduction system | |
AM0083 | Avoidance of landfill gas emissions by in-situ aeration of landfills | |
AM0084 | Installation of cogeneration system supplying electricity and chilled water to new and existing consumers | |
AM0085 | Co-firing of biomass residues for electricity generation in grid connected power plants | |
AM0086 | Distribution of low greenhouse gas emitting water purification systems for safe drinking water | |
AM0087 | Construction of a new natural gas power plant supplying electricity to the grid or a single consumer | |
AM0088 | Air separation using cryogenic energy recovered from the vaporization of LNG | |
AM0089 | Production of diesel using a mixed feedstock of gasoil and vegetable oil | |
AM0090 | Modal shift in transportation of cargo from road transportation to water or rail transportation | |
AM0091 | Energy efficiency technologies and fuel switching in new buildings | |
AM0092 | Substitution of PFC gases for cleaning Chemical Vapour Deposition (CVD) reactors in the semiconductor industry | |
AM0093 | Avoidance of landfill gas emissions by passive aeration of landfills | |
AM0094 | Distribution of biomass based stove and/or heater for household or institutional use | |
AM0095 | Waste gas based combined cycle power plant in a Greenfield iron and steel plant | |
AM0096 | CF4 emission reduction from installation of an abatement system in a semiconductor manufacturing facility | |
AM0097 | Installation of high voltage direct current power transmission line | |
AM0098 | Utilization of ammonia-plant off gas for steam generation | |
AM0099 | Installation of a new natural gas fired gas turbine to an existing CHP plant | |
AM0100 | Integrated Solar Combined Cycle (ISCC) projects | |
AM0101 | High speed passenger rail systems | |
AM0102 | Greenfield cogeneration facility supplying electricity and steam to a Greenfield Industrial Consumer and exporting excess electricity to a grid and/or project customer(s) | |
AM0103 | Renewable energy power generation in isolated grids | |
AM0104 | Interconnection of electricity grids in countries with economic merit order dispatch | |
AM0105 | Energy efficiency in data centres through dynamic power management | |
AM0106 | Energy efficiency improvements of a lime production facility through installation of new kilns | |
AM0107 | New natural gas based cogeneration plant | |
AM0108 | Interconnection between electricity systems for energy exchange | |
AM0109 | Introduction of hot supply of Direct Reduced Iron in Electric Arc Furnaces | |
AM0110 | Modal shift in transportation of liquid fuels | |
AM0111 | Abatement of fluorinated greenhouse gases in semiconductor manufacturing | |
AM0112 | Less carbon intensive power generation through continuous reductive distillation of waste | |
AM0113 | Distribution of compact fluorescent lamps (CFL) and light-emitting diode (LED) lamps to households | |
AM0114 | Shift from electrolytic to catalytic process for recycling of chlorine from hydrogen chloride gas in isocyanate plants | |
AM0115 | Recovery and utilization of coke oven gas from coke plants for LNG production | |
AM0116 | Electric taxiing systems for airplanes | |
AM0117 | Introduction of a new district cooling system | |
AM0118 | Introduction of low resistivity power transmission line | |
AM0119 | SF6 emission reductions in gas insulated metal enclosed switchgear | |
AM0120 | Energy-efficient refrigerators and air-conditioners | |
AM0121 | Emission reduction from partial switching of raw materials and increasing the share of additives in the production of blended cement | |
ACM0001 | Flaring or use of landfill gas | |
ACM0002 | Grid-connected electricity generation from renewable sources | |
ACM0003 | Partial substitution of fossil fuels in cement or quicklime manufacture | |
ACM0004 | Consolidated methodology for waste gas and/or heat for power generation | |
ACM0005 | Increasing the blend in cement production | |
ACM0006 | Electricity and heat generation from biomass | |
ACM0007 | Conversion from single cycle to combined cycle power generation | |
ACM0008 | Abatement of methane from coal mines | |
ACM0009 | Fuel switching from coal or petroleum fuel to natural gas | |
ACM0010 | GHG emission reductions from manure management systems | |
ACM0011 | Fuel switching from coal and/or petroleum fuels to natural gas in existing power plants for electricity generation | |
ACM0012 | Waste energy recovery | |
ACM0013 | Construction and operation of new grid connected fossil fuel fired power plants using a less GHG intensive technology | |
ACM0014 | Treatment of wastewater | |
ACM0015 | Emission reductions from raw material switch in clinker production | |
ACM0016 | Mass Rapid Transit Projects | |
ACM0017 | Production of biodiesel | |
ACM0018 | Electricity generation from biomass residues in power-only plants | |
ACM0019 | N2O abatement from nitric acid production | |
ACM0020 | Co-firing of biomass residues for heat generation and/or electricity generation in grid connected power plants | |
ACM0021 | Reduction of emissions from charcoal production by improved kiln design and/or abatement of methane | |
ACM0022 | Alternative waste treatment processes | |
ACM0023 | Introduction of an efficiency improvement technology in a boiler | |
ACM0024 | Natural gas substitution by biogenic methane produced from the anaerobic digestion of organic waste | |
ACM0025 | Construction of a new natural gas power plant | |
ACM0026 | Fossil fuel based cogeneration for identified recipient facility(ies) | |
AMS-I.A. | Electricity generation by the user | |
AMS-I.B. | Mechanical energy for the user with or without electrical energy | |
AMS-I.C. | Thermal energy production with or without electricity | |
AMS-I.D. | Grid connected renewable electricity generation | |
AMS-I.E. | Switch from non-renewable biomass for thermal applications by the user | |
AMS-I.F. | Renewable electricity generation for captive use and mini-grid | |
AMS-I.G. | Plant oil production and use for energy generation in stationary applications | |
AMS-I.H. | Biodiesel production and use for energy generation in stationary applications | |
AMS-I.I. | Biogas/biomass thermal applications for households/small users | |
AMS-I.J. | Solar water heating systems (SWH) | |
AMS-I.K. | Solar cookers for households | |
AMS-I.L. | Electrification of rural communities using renewable energy | |
AMS-I.M | Solar power for domestic aircraft at-gate operations | |
AMS-II.A. | Supply side energy efficiency improvements – transmission and distribution | |
AMS-II.B. | Supply side energy efficiency improvements – generation | |
AMS-II.C. | Demand-side energy efficiency activities for specific technologies | |
AMS-II.D. | Energy efficiency and fuel switching measures for industrial facilities | |
AMS-II.E. | Energy efficiency and fuel switching measures for buildings | |
AMS-II.F. | Energy efficiency and fuel switching measures for agricultural facilities and activities | |
AMS-II.G. | Energy efficiency measures in thermal applications of non-renewable biomass | |
AMS-II.H. | Energy efficiency measures through centralization of utility provisions of an industrial facility | |
AMS-II.I. | Efficient utilization of waste energy in industrial facilities | |
AMS-II.J. | Demand-side activities for efficient lighting technologies | |
AMS-II.K. | Installation of co-generation or tri-generation systems supplying energy to commercial building | |
AMS-II.L. | Demand-side activities for efficient outdoor and street lighting technologies | |
AMS-II.M. | Demand-side energy efficiency activities for installation of low-flow hot water savings devices | |
AMS-II.N. | Demand-side energy efficiency activities for installation of energy efficient lighting and/or controls in buildings | |
AMS-II.O. | Dissemination of energy efficient household appliances | |
AMS-II.P. | Energy efficient pump-set for agriculture use | |
AMS-II.Q. | Energy efficiency and/or energy supply projects in commercial buildings | |
AMS-II.R. | Energy efficiency space heating measures for residential buildings | |
AMS-II.S. | Energy efficiency in motor systems | |
AMS-II.T | Emission reduction through reactive power compensation in power distribution network | |
AMS-III.A. | Offsetting of synthetic nitrogen fertilizers by inoculant application in legumes-grass rotations on acidic soils on existing cropland | |
AMS-III.B. | Switching fossil fuels | |
AMS-III.C. | Emission reductions by electric and hybrid vehicles | |
AMS-III.D. | Methane recovery in animal manure management systems | |
AMS-III.E. | Avoidance of methane production from decay of biomass through controlled combustion, gasification or mechanical/thermal treatment | |
AMS-III.F. | Avoidance of methane emissions through composting | |
AMS-III.G. | Landfill methane recovery | |
AMS-III.H. | Methane recovery in wastewater treatment | |
AMS-III.I. | Avoidance of methane production in wastewater treatment through replacement of anaerobic systems by aerobic systems | |
AMS-III.J. | Avoidance of fossil fuel combustion for carbon dioxide production to be used as raw material for industrial processes | |
AMS-III.K. | Avoidance of methane release from charcoal production | |
AMS-III.L. | Avoidance of methane production from biomass decay through controlled pyrolysis | |
AMS-III.M. | Reduction in consumption of electricity by recovering soda from paper manufacturing process | |
AMS-III.N. | Avoidance of HFC emissions in rigid Poly Urethane Foam (PUF) manufacturing | |
AMS-III.O. | Hydrogen production using methane extracted from biogas | |
AMS-III.P. | Recovery and utilization of waste gas in refinery facilities | |
AMS-III.Q. | Waste energy recovery | |
AMS-III.R. | Methane recovery in agricultural activities at household/small farm level | |
AMS-III.S. | Introduction of low-emission vehicles/technologies to commercial vehicle fleets | |
AMS-III.T. | Plant oil production and use for transport applications | |
AMS-III.U. | Cable Cars for Mass Rapid Transit System (MRTS) | |
AMS-III.V. | Decrease of coke consumption in blast furnace by installing dust/sludge recycling system in steel works | |
AMS-III.W. | Methane capture and destruction in non-hydrocarbon mining activities | |
AMS-III.X. | Energy Efficiency and HFC-134a Recovery in Residential Refrigerators | |
AMS-III.Y. | Methane avoidance through separation of solids from wastewater or manure treatment systems | |
AMS-III.Z. | Fuel Switch, process improvement and energy efficiency in brick manufacture | |
AMS-III.AA. | Transportation Energy Efficiency Activities using Retrofit Technologies | |
AMS-III.AB. | Avoidance of HFC emissions in Standalone Commercial Refrigeration Cabinets | |
AMS-III.AC. | Electricity and/or heat generation using fuel cell | |
AMS-III.AD. | Emission reductions in hydraulic lime production | |
AMS-III.AE. | Energy efficiency and renewable energy measures in new residential buildings | |
AMS-III.AF. | Avoidance of methane emissions through excavating and composting of partially decayed municipal solid waste (MSW) | |
AMS-III.AG. | Switching from high carbon intensive grid electricity to low carbon intensive fossil fuel | |
AMS-III.AH. | Shift from high carbon intensive fuel mix ratio to low carbon-intensive fuel mix ratio | |
AMS-III.AI. | Emission reductions through recovery of spent sulphuric acid | |
AMS-III.AJ. | Recovery and recycling of materials from solid wastes | |
AMS-III.AK. | Biodiesel production and use for transport applications | |
AMS-III.AL. | Conversion from single cycle to combined cycle power generation | |
AMS-III.AM. | Fossil fuel switch in a cogeneration/trigeneration system | |
AMS-III.AN. | Fossil fuel switch in existing manufacturing industries | |
AMS-III.AO. | Methane recovery through controlled anaerobic digestion | |
AMS-III.AP. | Transport energy efficiency activities using post - fit Idling Stop device | |
AMS-III.AQ. | Introduction of Bio-CNG in transportation applications | |
AMS-III.AR. | Substituting fossil fuel based lighting with LED/CFL lighting systems | |
AMS-III.AS. | Switch from fossil fuel to biomass in existing manufacturing facilities for non-energy applications | |
AMS-III.AT. | Transportation energy efficiency activities installing digital tachograph systems to commercial freight transport fleets | |
AMS-III.AU. | Methane emission reduction by adjusted water management practice in rice cultivation | |
AMS-III.AV. | Low greenhouse gas emitting safe drinking water production systems | |
AMS-III.AW. | Electrification of rural communities by grid extension | |
AMS-III.AX. | Methane oxidation layer (MOL) for solid waste disposal sites | |
AMS-III.AY. | Introduction of LNG buses to existing and new bus routes | |
AMS-III.BA. | Recovery and recycling of materials from E-waste | |
AMS-III.BB. | Electrification of communities through grid extension or construction of new mini-grids | |
AMS-III.BC. | Emission reductions through improved efficiency of vehicle fleets | |
AMS-III.BD. | GHG emission reduction due to supply of molten metal instead of ingots for aluminium castings | |
AMS-III.BE. | Avoidance of methane and nitrous oxide emissions from sugarcane pre-harvest open burning through mulching | |
AMS-III.BF. | Reduction of N2O emissions from use of Nitrogen Use Efficient (NUE) seeds that require less fertilizer application | |
AMS-III.BG. | Emission reduction through sustainable charcoal production and consumption | |
AMS-III.BH. | Displacement of production of brick and cement by manufacture and installation of gypsum concrete wall panels | |
AMS-III.BI. | Flare gas recovery in gas treating facilities | |
AMS-III.BJ. | Destruction of hazardous waste using plasma technology including energy recovery | |
AMS-III.BK. | Strategic feed supplementation in smallholder dairy sector to increase productivity | |
AMS-III.BL. | Integrated methodology for electrification of communities | |
AMS-III.BM. | Lightweight two and three wheeled personal transportation | |
AMS-III.BN. | Efficient operation of public transportation | |
AMS-III.BO. | Trip avoidance through equipment improvement of freight transport | |
AMS-III.BP. | Emission reduction by shore-side electricity supply system | |
AR-ACM0003 | Afforestation and reforestation of lands except wetlands | |
AR-AM0014 | Afforestation and reforestation of degraded mangrove habitats | |
AR-AMS0003 | Afforestation and reforestation project activities implemented on wetlands | |
AR-AMS0007 | Afforestation and reforestation project activities implemented on lands other than wetlands |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Verra Methodology Code | Title | |
---|---|---|
VM0004 | Conservation Projects that Avoid Planned Land Use Conversion in Peat Swamp Forests | |
VM0007 | Reducing Emissions from Deforestation and Forest Degradation (REDD) | |
VM0009 | Avoided Ecosystem Conversion | |
VM0010 | Improved Forest Management | |
VM0011 | Preventing Planned Degradation | |
VM0012 | Improved Forest Management in Temperate and Boreal Forests (LtPF) | |
VM0015 | Avoided Unplanned Deforestation |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi extremely interested in figuring out what this does?