The sample_weatherdata database contains detailed weather reports from various locations. Each report contains readings such as airTemperature, wind, and visibility. Each report contains a location which is stored as GeoJSON.
To learn how to load the sample data provided by MongoDB Atlas into your cluster, see Import Sample Data Into Your Atlas Deployment.
Collections
Este banco de dados contém uma única coleção chamada data.
A coleção sample_weatherdata.data contém todos os relatórios meteorológicos no conjunto de dados. Cada documento na coleção representa um único relatório meteorológico. As várias observações meteorológicas contidas no documento normalmente existem em objetos incorporados.
Indexes
A coleção sample_weatherdata.data contém os seguintes índices:
Nome | Index | Descrição |
|---|---|---|
|
| Índice de chave primária no campo |
Documento de amostra
{ "_id": { "$oid": "5553a998e4b02cf7151190c9" }, "st": "x+51900+003200", "ts": { "$date": { "$numberLong": "447354000000" } }, "position": { "type": "Point", "coordinates": [ { "$numberDouble": "3.2" }, { "$numberDouble": "51.9" } ] }, "elevation": { "$numberInt": "9999" }, "callLetters": "PLAT", "qualityControlProcess": "V020", "dataSource": "4", "type": "FM-13", "airTemperature": { "value": { "$numberDouble": "4.8" }, "quality": "1" }, "dewPoint": { "value": { "$numberDouble": "4.6" }, "quality": "1" }, "pressure": { "value": { "$numberDouble": "1032.6" }, "quality": "1" }, "wind": { "direction": { "angle": { "$numberInt": "170" }, "quality": "1" }, "type": "N", "speed": { "rate": { "$numberDouble": "0.5" }, "quality": "1" } }, "visibility": { "distance": { "value": { "$numberInt": "999999" }, "quality": "9" }, "variability": { "value": "N", "quality": "9" } }, "skyCondition": { "ceilingHeight": { "value": { "$numberInt": "99999" }, "quality": "9", "determination": "9" }, "cavok": "N" }, "sections": [ "AG1", "MD1", "OA1", "SA1" ], "precipitationEstimatedObservation": { "discrepancy": "2", "estimatedWaterDepth": { "$numberInt": "999" } }, "atmosphericPressureChange": { "tendency": { "code": "2", "quality": "1" }, "quantity3Hours": { "value": { "$numberDouble": "1.2" }, "quality": "1" }, "quantity24Hours": { "value": { "$numberDouble": "99.9" }, "quality": "9" } }, "seaSurfaceTemperature": { "value": { "$numberDouble": "5.5" }, "quality": "9" } }