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.
集合
该数据库包含一个名为 data 的集合。
sample_weatherdata.data 集合包含数据集中的所有天气报告。集合中的每个文档都代表一个天气预报。文档中的各种天气观测通常存在于嵌入式对象中。
索引
sample_weatherdata.data 集合包含以下索引:
名称 | Index | 说明 |
|---|---|---|
|
|
|
文档样本
{ "_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" } }