From e8c9fe5bfdb4386ea27605e9bf52a267fefe8246 Mon Sep 17 00:00:00 2001 From: wsws Date: Mon, 21 Mar 2022 22:11:05 -0700 Subject: [PATCH] Add new schema MCFs for historical weather import. PiperOrigin-RevId: 436385557 --- core/climate.mcf | 16 +++++ core/measurement_methods.mcf | 6 +- stat_vars/climate_stat_vars.mcf | 117 ++++++++++++++++++++++++++++++++ 3 files changed, 138 insertions(+), 1 deletion(-) diff --git a/core/climate.mcf b/core/climate.mcf index 7041dec50..55fefa926 100644 --- a/core/climate.mcf +++ b/core/climate.mcf @@ -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." diff --git a/core/measurement_methods.mcf b/core/measurement_methods.mcf index 1f2f42064..097bbe4d0 100644 --- a/core/measurement_methods.mcf +++ b/core/measurement_methods.mcf @@ -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." diff --git a/stat_vars/climate_stat_vars.mcf b/stat_vars/climate_stat_vars.mcf index 1433fe2c5..9d94aa66b 100644 --- a/stat_vars/climate_stat_vars.mcf +++ b/stat_vars/climate_stat_vars.mcf @@ -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 @@ -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