Skip to content

Commit

Permalink
Add new schema MCFs for historical weather import.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 436385557
  • Loading branch information
wsws authored and copybara-github committed Mar 22, 2022
1 parent 19afb7f commit e8c9fe5
Show file tree
Hide file tree
Showing 3 changed files with 138 additions and 1 deletion.
16 changes: 16 additions & 0 deletions core/climate.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,22 @@ domainIncludes: schema:Place
rangeIncludes: schema:Number
name: "humidity"

Node: dcid:snowfall
name: "snowfall"
typeOf: schema:Property
domainIncludes: schema:Place
rangeIncludes: dcs:Quantity
description: "A fall of snow."
descriptionUrl: "https://www.merriam-webster.com/dictionary/snowfall"

Node: dcid:visibility
name: "visibility"
typeOf: schema:Property
domainIncludes: schema:Place
rangeIncludes: dcs:Quantity
description: "The quality or state of being visible."
descriptionUrl: https://www.merriam-webster.com/dictionary/visibility

Node: dcid:wavelength
typeOf: schema:Property
description: "The spatial period of a periodic wave."
Expand Down
6 changes: 5 additions & 1 deletion core/measurement_methods.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,12 @@ name: "GoogleEarthEngine_MeanReduction"
typeOf: dcs:MeasurementMethodEnum
description: "Measurement method for stats that were computed as means over coverage area using Google Earth Engine"


Node: dcid:IndiaWRIS
name: "IndiaWRIS"
typeOf: dcs:MeasurementMethodEnum
description: "Measurement method for data from India Water Resources Infromation System (WRIS)"

Node: dcid:NASAGSOD_NASAGHCN_EPA
name: "NASAGSOD_NASAGHCN_EPA"
typeOf: dcs:MeasurementMethodEnum
description: "Measurement method for weather data that comes from EPA, NASA-GSOD, NASA-GHCN."
117 changes: 117 additions & 0 deletions stat_vars/climate_stat_vars.mcf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@ populationType: dcs:Place
measuredProperty: dcs:temperature
statType: dcs:minValue

Node: dcid:Mean_Temperature
description: "Mean near-surface air temperature"
typeOf: dcs:StatisticalVariable
populationType: dcs:Place
measuredProperty: dcs:temperature
statType: dcs:meanValue

Node: dcid:Temperature
description: "Near-surface air temperature"
typeOf: dcs:StatisticalVariable
Expand Down Expand Up @@ -620,6 +627,116 @@ statType: dcs:meanValue
solute: dcs:Oxygen
solvent: dcs:Water

## Weather

Node: dcid:Max_Rainfall
description: "Max near-surface rainfall"
typeOf: dcs:StatisticalVariable
populationType: dcs:Place
measuredProperty: dcs:rainfall
statType: dcs:maxValue

Node: dcid:Min_Rainfall
description: "Min near-surface rainfall"
typeOf: dcs:StatisticalVariable
populationType: dcs:Place
measuredProperty: dcs:rainfall
statType: dcs:minValue

Node: dcid:Mean_Rainfall
description: "Mean near-surface rainfall"
typeOf: dcs:StatisticalVariable
populationType: dcs:Place
measuredProperty: dcs:rainfall
statType: dcs:meanValue

Node: dcid:Max_Snowfall
description: "Max near-surface snowfall"
typeOf: dcs:StatisticalVariable
populationType: dcs:Place
measuredProperty: dcs:snowfall
statType: dcs:maxValue

Node: dcid:Min_Snowfall
description: "Min near-surface snowfall"
typeOf: dcs:StatisticalVariable
populationType: dcs:Place
measuredProperty: dcs:snowfall
statType: dcs:minValue

Node: dcid:Mean_Snowfall
description: "Mean near-surface snowfall"
typeOf: dcs:StatisticalVariable
populationType: dcs:Place
measuredProperty: dcs:snowfall
statType: dcs:meanValue

Node: dcid:Max_BarometricPressure
description: "Max near-surface barometric pressure"
typeOf: dcs:StatisticalVariable
populationType: dcs:Place
measuredProperty: dcs:barometricPressure
statType: dcs:maxValue

Node: dcid:Min_BarometricPressure
description: "Min near-surface barometric pressure"
typeOf: dcs:StatisticalVariable
populationType: dcs:Place
measuredProperty: dcs:barometricPressure
statType: dcs:minValue

Node: dcid:Mean_BarometricPressure
description: "Mean near-surface barometric pressure"
typeOf: dcs:StatisticalVariable
populationType: dcs:Place
measuredProperty: dcs:barometricPressure
statType: dcs:meanValue

Node: dcid:Max_Humidity_RelativeHumidity
description: "Max near-surface relative humidity"
typeOf: dcs:StatisticalVariable
populationType: dcs:Place
measuredProperty: dcs:humidity
humidityParameter: dcs:RelativeHumidity
statType: dcs:maxValue

Node: dcid:Min_Humidity_RelativeHumidity
description: "Min near-surface relative humidity"
typeOf: dcs:StatisticalVariable
populationType: dcs:Place
measuredProperty: dcs:humidity
humidityParameter: dcs:RelativeHumidity
statType: dcs:minValue

Node: dcid:Mean_Humidity_RelativeHumidity
description: "Mean near-surface relative humidity"
typeOf: dcs:StatisticalVariable
populationType: dcs:Place
measuredProperty: dcs:humidity
humidityParameter: dcs:RelativeHumidity
statType: dcs:meanValue

Node: dcid:Max_Visibility
description: "Max near-surface visibility"
typeOf: dcs:StatisticalVariable
populationType: dcs:Place
measuredProperty: dcs:visibility
statType: dcs:maxValue

Node: dcid:Min_Visibility
description: "Min near-surface visibility"
typeOf: dcs:StatisticalVariable
populationType: dcs:Place
measuredProperty: dcs:visibility
statType: dcs:minValue

Node: dcid:Mean_Visibility
description: "Mean near-surface visibility"
typeOf: dcs:StatisticalVariable
populationType: dcs:Place
measuredProperty: dcs:visibility
statType: dcs:meanValue

### Misc

Node: dcid:SurfaceArea
Expand Down

0 comments on commit e8c9fe5

Please sign in to comment.