MetOffice / aws-earth-examples

Example code of how to freely use Met Office's weather datasets through Earth on AWS.
https://metoffice.gov.uk
Other
42 stars 15 forks source link

MOGREPS-UK SNS - Matching SNS name attribute to the description of data #21

Open robberry opened 3 years ago

robberry commented 3 years ago

Hello,

I have subscribed to the MOGREPS-UK SNS ARN (arn:aws:sns:eu-west-2:021908831235:aws-earth-mo-atmospheric-mogreps-uk-prd) and I am trying to determine the link between the data returned in the message and the description of the data from your website, referenced from the Registry of Open Data on AWS.

For example, in the JSON data below there is a "Name" attribute of "lwe_thickness_of_graupel_and_hail_fall_amount", but I can't see this at all in description of the data. Can you help me with the link (lookup list or similar), or point me in the direction for how I can work this out, or correct me in my interpretation of the logic if I've misunderstood things?

Many thanks, Rob.

{
   "Type":"Notification",
   "MessageId":"fb9e5411-a34a-54ae-b2ef-038a344bfc09",
   "TopicArn":"arn:aws:sns:eu-west-2:021908831235:aws-earth-mo-atmospheric-mogreps-uk-prd",
   "Message":"{\"model\": \"mo-atmospheric-mogreps-uk-prd\", \"long_name\": \"lwe_thickness_of_graupel_and_hail_fall_amount\", \"ttl\": 1596641086, \"time\": \"2020-07-30T23:00:00Z\", \"bucket\": \"aws-earth-mo-atmospheric-mogreps-uk-prd\", \"created_time\": \"2020-07-28T15:16:28Z\", \"name\": \"lwe_thickness_of_graupel_and_hail_fall_amount\", \"forecast_period_bounds\": \"205200 208800\", \"object_size\": 139662.0, \"forecast_period\": \"208800\", \"forecast_reference_time\": \"2020-07-28T13:00:00Z\", \"forecast_period_units\": \"seconds\", \"cell_methods\": \"time: sum\", \"key\": \"a6cd8ec46f068a5a13a58567b136b3f2c2595b2a.nc\", \"realization\": \"23 24 25\"}",
   "Timestamp":"2020-07-29T15:24:49.781Z",
   "SignatureVersion":"1",
   "Signature":"rY0t50duiMfuEVcNKhznucuubMQ5/dfPZpwdIck2t1FD6jYFmfiJJVxfDqFCAmYEF4TaIIE8AoZimryjl25geulL22dbQ7te+/g82frQQ8YPPKUPgqDKFPp/tLeAVOqadcVctpr7Osry1w7v/yv9u45IKDNxvnJy5NUyUyA2nan0H2hbkNU5e4DURbZSIBRrRQhWQKJapvMcqP0Hv+wz4Ilye8ba6Q3ZBXSe5RgKcM0MrBMbdSwvI3WhR3EFqhSGZNGRVcD/Yus+CowrreVSuWufDMVupcj4Ud08/CO92UHWtqb42u8dWjKQ/msmO2yi33V5CvWhNZjtr5rrZjihjw==",
   "SigningCertURL":"https://sns.eu-west-2.amazonaws.com/SimpleNotificationService-a86cb10b4e1f29c941702d737128f7b6.pem",
   "UnsubscribeURL":"https://sns.eu-west-2.amazonaws.com/?Action=Unsubscribe&SubscriptionArn=arn:aws:sns:eu-west-2:021908831235:aws-earth-mo-atmospheric-mogreps-uk-prd:f39322bf-8548-4781-937e-d590d1487a51",
   "MessageAttributes":{
      "forecast_reference_time":{
         "Type":"String",
         "Value":"2020-07-28T13:00:00Z"
      },
      "name":{
         "Type":"String",
         "Value":"lwe_thickness_of_graupel_and_hail_fall_amount"
      },
      "model":{
         "Type":"String",
         "Value":"mo-atmospheric-mogreps-uk-prd"
      }
   }
}
flowirtz commented 3 years ago

I second this. Mapping from SNS variable name to the PDF is really really hard. We started doing that ourselves for the irradiance ones, but a full list would be awesome.