Skip to content

Commit

Permalink
unwanted parameters removed from the code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Click2cloud-Abhijeet committed Jan 24, 2025
1 parent f12f4e7 commit b739713
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ops/carbon_local/whatif_comet_local.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,6 @@ def build_comet_request(
# Add <ActivityYears> under <Project>
activity_years = ET.SubElement(project, "ActivityYears")
activity_name = ET.SubElement(activity_years, "ActivityName")
activity_name.attrib["Id"] = "10"
activity_name.attrib["Name"] = "Cropland, Pasture, Range, Orchards/Vineyards"

# Add <Cropland> element under <Project>
Expand All @@ -244,10 +243,6 @@ def build_comet_request(
geom.attrib["PARCELNAME"] = "F1"
geom.attrib["SRID"] = "4326"

geom.attrib["ORIGINALID"] = "114090"
geom.attrib["APEXTOLINK"] = ""
geom.attrib["APEXFROMLINK"] = ""

geom.attrib["AREA"] = str(farm_location[0])
geom.text = f"POINT({farm_location[1][0]} {farm_location[1][1]})"

Expand Down

0 comments on commit b739713

Please sign in to comment.