Dados de previsão meteorológica por hora dos EUA em 15 dias (exemplo, temperatura, precipitação, vento) produzidos pelo GFS (Sistema Global de Previsão) da NOAA (Administração Oceânica e Atmosférica Nacional).
O GFS (Sistema de Previsão Global) é um modelo de previsão meteorológica criado pelo NCEP (National Centers for Environmental Prediction). Dezenas de variáveis de solo e atmosfera ficam disponíveis por meio deste conjunto de dados, de temperaturas, ventos e precipitação a umidade do solo e concentração de ozônio atmosférico. Todo o planeta é coberto pelo GFS a uma resolução horizontal base de 28 quilômetros entre pontos da grade, que é usada pelos analistas operacionais que preveem a meteorologia até 16 dias no futuro. A resolução horizontal cai para 70 quilômetros entre os pontos da grade para previsões entre uma e duas semanas. Esse conjunto de dados é especificamente originado do GFS4.
Volume e retenção
Este conjunto de dados está armazenado no formato Parquet. É atualizado diariamente com os dados de previsão de 15 dias no futuro. Há cerca de 9 bilhões de linhas (200 GB) no total desde 2019.
Este conjunto de dados contém registros históricos acumulados desde dezembro de 2018 até o presente. Você pode usar as configurações de parâmetro no nosso SDK para buscar dados em um intervalo de tempo específico.
Local de armazenamento
Este conjunto de dados está armazenado na região Leste dos EUA do Azure. É recomendável alocar recursos de computação no Leste dos EUA para afinidade.
Informações adicionais
Este conjunto de dados é originado do Sistema de Previsão Global da NOAA. Mais informações sobre este conjunto de dados podem ser encontradas aqui e aqui. Envie um email para ncei.orders@noaa.gov em caso de dúvidas sobre a fonte de dados.
Avisos
A MICROSOFT FORNECE O AZURE OPEN DATASETS NO ESTADO EM QUE SE ENCONTRA. A MICROSOFT NÃO OFERECE GARANTIAS OU COBERTURAS, EXPRESSAS OU IMPLÍCITAS, EM RELAÇÃO AO USO DOS CONJUNTOS DE DADOS. ATÉ O LIMITE PERMITIDO PELA LEGISLAÇÃO LOCAL, A MICROSOFT SE EXIME DE TODA A RESPONSABILIDADE POR DANOS OU PERDAS, INCLUSIVE DIRETOS, CONSEQUENTES, ESPECIAIS, INDIRETOS, ACIDENTAIS OU PUNITIVOS, RESULTANTES DO USO DOS CONJUNTOS DE DADOS.
Esse conjunto de dados é fornecido de acordo com os termos originais com que a Microsoft recebeu os dados de origem. O conjunto de dados pode incluir dados originados da Microsoft.
Access
Available in | When to use |
---|---|
Azure Notebooks | Quickly explore the dataset with Jupyter notebooks hosted on Azure or your local machine. |
Azure Databricks | Use this when you need the scale of an Azure managed Spark cluster to process the dataset. |
Azure Synapse | Use this when you need the scale of an Azure managed Spark cluster to process the dataset. |
Preview
currentDatetime | forecastHour | latitude | longitude | precipitableWaterEntireAtmosphere | seaLvlPressure | temperature | windSpeedGustSurface | totalCloudCoverConvectiveCloud | year | month | day |
---|---|---|---|---|---|---|---|---|---|---|---|
1/12/2021 6:00:00 PM | 192 | 0 | 180 | 25.6544 | 100749 | 299.478 | 9.4395 | 0 | 2021 | 1 | 12 |
1/12/2021 6:00:00 PM | 192 | 0 | -175.5 | 23.5544 | 100809 | 299.578 | 8.9395 | 0 | 2021 | 1 | 12 |
1/12/2021 6:00:00 PM | 192 | 0 | -179.5 | 25.6544 | 100768 | 299.478 | 8.9395 | 0 | 2021 | 1 | 12 |
1/12/2021 6:00:00 PM | 192 | 0 | -179 | 26.0544 | 100777 | 299.578 | 8.8395 | 0 | 2021 | 1 | 12 |
1/12/2021 6:00:00 PM | 192 | 0 | -178.5 | 25.3544 | 100777 | 299.678 | 9.0395 | 0 | 2021 | 1 | 12 |
1/12/2021 6:00:00 PM | 192 | 0 | -178 | 24.7544 | 100782 | 299.578 | 9.0395 | 0 | 2021 | 1 | 12 |
1/12/2021 6:00:00 PM | 192 | 0 | -177.5 | 24.0544 | 100782 | 299.578 | 8.9395 | 0 | 2021 | 1 | 12 |
1/12/2021 6:00:00 PM | 192 | 0 | -177 | 23.4544 | 100784 | 299.578 | 8.8395 | 0 | 2021 | 1 | 12 |
1/12/2021 6:00:00 PM | 192 | 0 | -176.5 | 23.4544 | 100792 | 299.578 | 8.7395 | 0 | 2021 | 1 | 12 |
1/12/2021 6:00:00 PM | 192 | 0 | -176 | 23.3544 | 100797 | 299.578 | 8.9395 | 0 | 2021 | 1 | 12 |
Name | Data type | Unique | Values (sample) | Description |
---|---|---|---|---|
currentDatetime | timestamp | 2,743 | 2018-12-06 12:00:00 2018-12-09 12:00:00 |
O runtime do ciclo do modelo de previsão. |
day | int | 31 | 1 5 |
Dia do currentDatetime. |
forecastHour | int | 129 | 336 102 |
Hora desde currentDatetime, hora da previsão ou da observação. |
latitude | double | 361 | 34.0 75.5 |
Latitude, degrees_north. |
longitude | double | 1,079 | 56.0 2.5 |
Longitude, degrees_east. |
month | int | 12 | 12 11 |
Mês do currentDatetime. |
precipitableWaterEntireAtmosphere | double | 5,451,888 | 0.5 0.2 |
Água precipitável em toda a camada atmosférica. Unidades: kg.m-2 |
seaLvlPressure | double | 8,567,844 | 101096.0 101120.0 |
Pressão no solo ou em uma superfície de água. Unidades: Pa |
snowDepthSurface | double | 1,210 | nan 1.0 |
Profundidade da neve no solo ou em uma superfície de água. Unidades: m |
temperature | double | 5,840,726 | 273.0 273.1 |
Temperatura no solo ou em uma superfície de água. Unidades: mil |
totalCloudCoverConvectiveCloud | double | 82 | 1.0 2.0 |
Cobertura total de nuvem em uma camada de nuvem convectiva. Unidades: % |
windSpeedGustSurface | double | 19,149,014 | 4.5 5.0 |
Velocidade do vento (rajada) no solo ou na superfície da água. Unidades: m/s |
year | int | 5 | 2019 2020 |
Ano do currentDatetime. |
Azure Notebooks
# This is a package in preview.
from azureml.opendatasets import NoaaGfsWeather
from dateutil import parser
start_date = parser.parse('2018-12-20')
end_date = parser.parse('2018-12-21')
gfs = NoaaGfsWeather(start_date, end_date)
gfs_df = gfs.to_pandas_dataframe()
gfs_df.info()
# Pip install packages
import os, sys
!{sys.executable} -m pip install azure-storage-blob
!{sys.executable} -m pip install pyarrow
!{sys.executable} -m pip install pandas
# Azure storage access info
azure_storage_account_name = "azureopendatastorage"
azure_storage_sas_token = r""
container_name = "gfsweatherdatacontainer"
folder_name = "GFSWeather/GFSProcessed"
from azure.storage.blob import BlockBlobServicefrom azure.storage.blob import BlobServiceClient, BlobClient, ContainerClient
if azure_storage_account_name is None or azure_storage_sas_token is None:
raise Exception(
"Provide your specific name and key for your Azure Storage account--see the Prerequisites section earlier.")
print('Looking for the first parquet under the folder ' +
folder_name + ' in container "' + container_name + '"...')
container_url = f"https://{azure_storage_account_name}.blob.core.windows.net/"
blob_service_client = BlobServiceClient(
container_url, azure_storage_sas_token if azure_storage_sas_token else None)
container_client = blob_service_client.get_container_client(container_name)
blobs = container_client.list_blobs(folder_name)
sorted_blobs = sorted(list(blobs), key=lambda e: e.name, reverse=True)
targetBlobName = ''
for blob in sorted_blobs:
if blob.name.startswith(folder_name) and blob.name.endswith('.parquet'):
targetBlobName = blob.name
break
print('Target blob to download: ' + targetBlobName)
_, filename = os.path.split(targetBlobName)
blob_client = container_client.get_blob_client(targetBlobName)
with open(filename, 'wb') as local_file:
blob_client.download_blob().download_to_stream(local_file)
# Read the parquet file into Pandas data frame
import pandas as pd
print('Reading the parquet file into Pandas data frame')
df = pd.read_parquet(filename)
# you can add your filter at below
print('Loaded as a Pandas data frame: ')
df
Azure Databricks
# This is a package in preview.
# You need to pip install azureml-opendatasets in Databricks cluster. https://docs.microsoft.com/en-us/azure/data-explorer/connect-from-databricks#install-the-python-library-on-your-azure-databricks-cluster
from azureml.opendatasets import NoaaGfsWeather
from dateutil import parser
start_date = parser.parse('2018-12-20')
end_date = parser.parse('2018-12-21')
gfs = NoaaGfsWeather(start_date, end_date)
gfs_df = gfs.to_spark_dataframe()
display(gfs_df.limit(5))
# Azure storage access info
blob_account_name = "azureopendatastorage"
blob_container_name = "gfsweatherdatacontainer"
blob_relative_path = "GFSWeather/GFSProcessed"
blob_sas_token = r""
# Allow SPARK to read from Blob remotely
wasbs_path = 'wasbs://%s@%s.blob.core.windows.net/%s' % (blob_container_name, blob_account_name, blob_relative_path)
spark.conf.set(
'fs.azure.sas.%s.%s.blob.core.windows.net' % (blob_container_name, blob_account_name),
blob_sas_token)
print('Remote blob path: ' + wasbs_path)
# SPARK read parquet, note that it won't load any data yet by now
df = spark.read.parquet(wasbs_path)
print('Register the DataFrame as a SQL temporary view: source')
df.createOrReplaceTempView('source')
# Display top 10 rows
print('Displaying top 10 rows: ')
display(spark.sql('SELECT * FROM source LIMIT 10'))
Azure Synapse
# This is a package in preview.
from azureml.opendatasets import NoaaGfsWeather
from dateutil import parser
start_date = parser.parse('2018-12-20')
end_date = parser.parse('2018-12-21')
gfs = NoaaGfsWeather(start_date, end_date)
gfs_df = gfs.to_spark_dataframe()
# Display top 5 rows
display(gfs_df.limit(5))
# Azure storage access info
blob_account_name = "azureopendatastorage"
blob_container_name = "gfsweatherdatacontainer"
blob_relative_path = "GFSWeather/GFSProcessed"
blob_sas_token = r""
# Allow SPARK to read from Blob remotely
wasbs_path = 'wasbs://%s@%s.blob.core.windows.net/%s' % (blob_container_name, blob_account_name, blob_relative_path)
spark.conf.set(
'fs.azure.sas.%s.%s.blob.core.windows.net' % (blob_container_name, blob_account_name),
blob_sas_token)
print('Remote blob path: ' + wasbs_path)
# SPARK read parquet, note that it won't load any data yet by now
df = spark.read.parquet(wasbs_path)
print('Register the DataFrame as a SQL temporary view: source')
df.createOrReplaceTempView('source')
# Display top 10 rows
print('Displaying top 10 rows: ')
display(spark.sql('SELECT * FROM source LIMIT 10'))