Skip to content

Commit

Permalink
Makes CMA definitions more specific and documents what a template ras…
Browse files Browse the repository at this point in the history
…ter is
  • Loading branch information
ajmuelle committed Jul 8, 2024
1 parent 87e3ca0 commit c0fd8c6
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cdr_schemas/prospectivity_input.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from enum import Enum
from typing import List, Optional, Union
from typing import List, Optional, Tuple, Union

from geojson_pydantic import Polygon
from geojson_pydantic import MultiPolygon
from pydantic import BaseModel, Field


Expand Down Expand Up @@ -61,15 +61,15 @@ class ProcessedDataLayer(BaseModel):

class CriticalMineralAssessment(BaseModel):
crs: str
extent: Polygon
resolution: tuple
extent: MultiPolygon
resolution: Tuple[int, int]
mineral: str
description: str


class CMATemplate(BaseModel):
cma: CriticalMineralAssessment
file: str
file: str # path to template raster defining extent,crs for resampling


class StackMetaData(BaseModel):
Expand Down

0 comments on commit c0fd8c6

Please sign in to comment.