Skip to content

Commit

Permalink
update cpr
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardolaiolo committed Feb 7, 2024
1 parent 43a448d commit a44020e
Show file tree
Hide file tree
Showing 5 changed files with 48 additions and 24 deletions.
6 changes: 4 additions & 2 deletions cpr_data/cpr_phyto_changelog.dataresource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ schema:
- name: TAXON_NAME
title: "Taxonomic name that the species is currently identified as (post startdate)"
type: string
required: true
constraints:
required: true
- name: STARTDATE
title: "Date from which the taxon_name was first consistently used (formatted string: YYYY-MM-DD)"
type: date
format: "%Y-%m-%d"
required: true
constraints:
required: true
- name: PARENT_NAME
title: "Taxon name which the species was known by before the start date"
type: string
Expand Down
18 changes: 12 additions & 6 deletions cpr_data/cpr_phyto_raw.dataresource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,18 @@ schema:
- name: SAMPLE
title: "Unique identifier for sample"
type: string
required: true
constraints:
required: true
- name: TAXON_NAME
title: "Scientific name of taxa"
type: string
required: true
constraints:
required: true
- name: TAXON_GROUP
title: "Functional group assigned to taxa"
type: string
required: true
constraints:
required: true
- name: GENUS
title: "Genus name of taxa"
type: string
Expand All @@ -37,19 +40,22 @@ schema:
- name: PHYTO_ABUNDANCE_M3
title: "Abundance of the taxa in cells per litre of water"
type: number
required: true
constraints:
required: true
- name: BIOVOL_UM3M3
title: "Biovolume of the taxa in um3 per cubic metre of water"
type: number
required: false
- name: FOV_COUNT
title: "Number of the taxa counted"
type: number
required: true
constraints:
required: true
- name: SAMPVOL_M3
title: "Volume of sample analysed (cubic metres)"
type: number
required: true
constraints:
required: true
primaryKey:
- SAMPLE
- TAXON_NAME
Expand Down
21 changes: 14 additions & 7 deletions cpr_data/cpr_samp.dataresource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,34 +13,40 @@ schema:
- name: TRIP_CODE
title: "Unique identifier for trip"
type: string
required: true
constraints:
required: true
- name: SAMPLE
title: "Unique sample identifier"
type: string
required: true
constraints:
required: true
- name: REGION
title: "Region identifier"
type: string
required: true
constraints:
required: true
- name: LATITUDE
title: "Latitude of sampling in decimal degrees North"
type: number
required: true
constraints:
required: true
minimum: -90
maximum: 90
- name: LONGITUDE
title: "Longitude of sampling in decimal degrees East"
type: number
minimum: -180
maximum: 180
required: true
constraints:
required: true
- name: SAMPLEDATEUTC
title: "Date & time of sample in UTC time (formatted string)"
type: datetime
# format string *must* be specified using standard Python/C strptime specification
# https://docs.python.org/2/library/datetime.html#strftime-strptime-behavior
format: "%Y-%m-%d %H:%M:%S"
required: true
constraints:
required: true
- name: SAMPLEDATELOCAL
title: "Date & time of sample in local time (formatted string)"
type: datetime
Expand All @@ -59,7 +65,8 @@ schema:
- name: SAMPLETYPE
title: "sample type code"
type: string
required: true
constraints:
required: true
- name: GHRSST_6D_DEGC
title: "IMOS L3S Day and Night gridded multiple-sensor multiple-swath Australian region HRPT AVHRR foundation SST"
type: number
Expand Down
6 changes: 4 additions & 2 deletions cpr_data/cpr_zoop_changelog.dataresource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,14 @@ schema:
- name: TAXON_NAME
title: "Taxonomic name that the species is currently identified as (post startdate)"
type: string
required: true
constraints:
required: true
- name: STARTDATE
title: "Date from which the taxon_name was first consistently used (formatted string: YYYY-MM-DD)"
type: date
format: "%Y-%m-%d"
required: true
constraints:
required: true
- name: PARENT_NAME
title: "Taxon name which the species was known by before the start date"
type: string
Expand Down
21 changes: 14 additions & 7 deletions cpr_data/cpr_zoop_raw.dataresource.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,23 @@ schema:
- name: SAMPLE
title: "Unique identifier for sample"
type: string
required: true
constraints:
required: true
- name: TAXON_NAME
title: "Scientific name of taxa"
type: string
required: true
constraints:
required: true
- name: COPEPOD
title: "Taxonomic flag value"
type: string
required: true
constraints:
required: true
- name: TAXON_GROUP
title: "Functional group assigned to taxa"
type: string
required: true
constraints:
required: true
- name: GENUS
title: "Genus name of taxa"
type: string
Expand All @@ -41,15 +45,18 @@ schema:
- name: TAXON_COUNT
title: "Number of the taxa counted"
type: number
required: true
constraints:
required: true
- name: SAMPVOL_M3
title: "Volume of sample analysed (cubic metres)"
type: number
required: true
constraints:
required: true
- name: ZOOP_ABUNDANCE_M3
title: "Abundance of the taxa per cubic metre of water"
type: number
required: true
constraints:
required: true

primaryKey:
- SAMPLE
Expand Down

0 comments on commit a44020e

Please sign in to comment.