nasa數據庫cm1數據集_獲取下一個地理項目的NASA數據

nasa數據庫cm1數據集

NASA provides an extensive library of data points that they’ve captured over the years from their satellites. These datasets include temperature, precipitation and more. NASA hosts this data on a website where you can search and grab information as needed, whether you want the data for the whole world or a specific area. The user can choose a certain range of dates, look for aggregate time frames (hours, days, months etc.). The possibilities are limitless.

NASA提供了一個廣泛的數據點庫,這些數據點是他們多年來從衛星中捕獲的。 這些數據集包括溫度,降水量等。 NASA將這些數據托管在一個網站上,您可以根據需要搜索和獲取信息,無論您是要使用整個世界還是特定區域的數據。 用戶可以選擇某個日期范圍,查找合計的時間范圍(小時,天,月等)。 可能性是無限的。

In this article, let’s explore this huge resource and I’ll describe a step-by-step process to collect data from the website.

在本文中,讓我們探索這個巨大的資源,我將描述一個分步過程,以從網站收集數據。

通用光盤 (GES DISC)

GES DISC stands for NASA Goddard Earth Sciences (GES) Data and Information Services Center (DISC). It is a data repository that hosts remote sensing data about precipitation, hydrology, atmosphere and more. It was designed to enable researchers and application developers to get access to NASA data, which they can then use to do analysis and create applications.

GES DISC代表NASA戈達德地球科學(GES)數據和信息服務中心(DISC) 。 它是一個數據庫,托管有關降水,水文,大氣等的遙感數據。 它旨在使研究人員和應用程序開發人員能夠訪問NASA數據,然后他們可以將其用于分析和創建應用程序。

數據采集 (DATA COLLECTION)

Let’s walk through the steps for retrieving data from GES DISC. In this particular article, I’ll walk through the steps for downloading precipitation data and for that, I’ll download the GPM monthly data. GPM stands for Global Precipitation Measurement, a joint venture between JAXA and NASA to capture precipitation data across the globe.

讓我們逐步介紹從GES DISC檢索數據的步驟。 在這篇特別的文章中,我將逐步介紹下載降水量數據的步驟,為此,我將下載GPM月度數據。 GPM代表“全球降水量測量” ,這是JAXA和NASA之間的合資企業,用于捕獲全球的降水量數據。

1.登錄 (1. Login)

The data repository is located here. Before you download data, you need to create an account on the earthdata website. Simply create an account on this website, verify yourself and you should be good to go.

數據存儲庫位于此處 。 在下載數據之前,您需要在Earthdata網站上創建一個帳戶。 只需在此網站上創建一個帳戶,驗證自己,就可以了。

Select the Login button on the top right. If you have an account, log in else select the Register button to get registered.

選擇右上角的登錄按鈕。 如果您有帳戶,請登錄,否則選擇“ 注冊”按鈕進行注冊。

2.搜索 (2. Search)

Once we are logged in, we can get started. The website greets you with a search box with Data Collections selected by default. We are looking for data in this collection itself, so we will let it be and start typing in the search box.

登錄后,即可開始。 該網站會在搜索框中向您打招呼,默認情況下會選中“ 數據收集” 。 我們正在此集合中尋找數據,因此我們將其保留下來并開始在搜索框中輸入內容。

Here, I’ll type precipitation in the search box and press the yellow search button to get the available datasets. You’ll notice a loading icon indicating that the system is processing our search query and will return a list of datasets that match the search query.

在這里,我將在搜索框中鍵入降水 ,然后按黃色搜索按鈕以獲取可用的數據集。 您會注意到一個加載圖標,指示系統正在處理我們的搜索查詢,并將返回與搜索查詢匹配的數據集列表。

Image for post
GES DISC homepage
GES DISC主頁

3.探索數據集列表 (3. Explore the list of datasets)

Once the search completes, you will see a table of various datasets that match the query and a filters section on the left. The table includes information such as image, dataset name, sources, spatial radius, start of data collection date and end of data collection date. Based on your specific requirements, you can use the filters on the left and select conditions that help you get the most precise data.

搜索完成后,您將在左側看到包含與查詢匹配的各種數據集的表格。 該表包含諸如圖像,數據集名稱,來源,空間半徑,數據收集日期的開始和數據收集日期的結束之類的信息。 根據您的特定要求,您可以使用左側的過濾器并選擇條件以幫助您獲得最精確的數據。

Image for post
Precipitation降水的搜索結果

In this example, I’m looking for GPM monthly data. So, in the filters, under Project, I selected GPM. This filtered the datasets that belong to GPM. From the Time Res. column, I looked for the dataset which had 1 month resolution. This means that data is aggregated on a monthly basis.

在此示例中,我正在尋找GPM每月數據。 因此,在過濾器的Project下,我選擇了GPM。 這過濾了屬于GPM的數據集。 從時間資源。 列,我查找了具有1個月分辨率的數據集。 這意味著數據是每月匯總的。

Image for post
Precipitation with GPM filter降水搜索結果

From the list, it’s the third dataset called GPM IMERG Final Precipitation L3 1 month 0.1 degree x 0.1 degree V06 (GPM_3IMERGM 06). To explore more about this dataset, I simply click on its name (which is a hyperlink) and it takes me to the dataset page.

從列表中,它是第三個數據集,稱為GPM IMERG最終降水L3 1個月0.1度x 0.1度V06(GPM_3IMERGM 06) 。 要探索有關此數據集的更多信息,我只需單擊其名稱(這是一個超鏈接),便會帶我到數據集頁面。

4.瀏覽數據集頁面 (4. Explore the dataset page)

The page has detailed information about the dataset along with an image. This is followed by the summary of the dataset (referred to as Product). The most essential parts are the buttons we see on the right side of the screen. You can explore the various services and more but we are interested in the link Subset / Get Data. This is the step where we get started with downloading the data. Click on this link.

該頁面具有有關數據集的詳細信息以及圖像。 接下來是數據集的摘要(稱為Product )。 最重要的部分是我們在屏幕右側看到的按鈕。 您可以探索各種服務以及更多服務,但是我們對鏈接Subset / Get Data感興趣。 這是我們開始下載數據的步驟。 點擊此鏈接。

Image for post
Dataset page
數據集頁面

5.選擇數據 (5. Select data)

On clicking the link, a popup shows up as seen in the image below.

單擊鏈接后,將彈出一個彈出窗口,如下圖所示。

Image for post
Popup with download options
帶有下載選項的彈出窗口

The dataset we get is pretty huge because it captures information for the whole globe across several years. A good idea is to select a certain range of dates that you’re looking for and certain area of the globe.

我們獲得的數據集非常龐大,因為它可以捕獲幾年來全球的信息。 一個好主意是選擇您要查找的特定日期范圍和全球特定區域。

In the example here, I’ll capture all the original files, which means all the variables they have. I’ll refine the range from January 1, 2001 to December 31, 2020. Lastly, based on your selection above, you might see certain options for the Output format. As I am selecting original files, I only see HDF5.

在這里的示例中,我將捕獲所有原始文件,這意味著它們具有所有變量。 我將細化2001年1月1日至2020年12月31日的范圍。最后,根據上面的選擇,您可能會看到Output格式的某些選項。 在選擇原始文件時,我只會看到HDF5。

Image for post
Selecting specific data out of the complete dataset
從完整的數據集中選擇特定數據

I’ve worked with HDF5 file format and there is a very simple package h5py which enables you to read these files directly into python. But to just view these files, a popular software, HDFView is often used.

我使用的是HDF5文件格式,有一個非常簡單的軟件包h5py ,使您可以將這些文件直接讀入python。 但是,為了僅查看這些文件,通常使用HDFView 。

Next, press the button Get Data and it’ll start running to generate a number of links that will allow you to download the data.

接下來,按下獲取數據按鈕,它將開始運行以生成許多鏈接,這些鏈接使您可以下載數據。

6.下載資料 (6. Download data)

The popup shows a list of links, each corresponding to one data file based on the selection. There are two ways to download data from here.

彈出窗口顯示一個鏈接列表,每個鏈接都基于選擇對應一個數據文件。 有兩種從此處下載數據的方法。

Image for post
Download links for the dataset
下載數據集的鏈接

6.1一次單個文件 (6.1 Single file at a time)

Click on the link of the data file you want to download. If you’re logged in, the dataset will start downloading. It is fast, simple and requires no extra steps for downloading data.

單擊要下載的數據文件的鏈接。 如果您已登錄,則數據集將開始下載。 它快速,簡單,不需要額外的步驟來下載數據。

6.2一次多個文件 (6.2 Multiple files at once)

However, if you are downloading multiple files (say 30–40 files), this is not the most efficient way. Using curl, you can download all the files using just one single command.

但是,如果要下載多個文件(例如30–40個文件),則這不是最有效的方法。 使用curl ,您只需一個命令即可下載所有文件。

curl is a command line tool for transferring data using various network protocols.

curl是用于使用各種網絡協議傳輸數據的命令行工具。

However, to use curl to download these data files, we need to perform some steps for the first time. The complete instructions vary by operating system and are available here.

但是,要使用curl下載這些數據文件,我們需要第一次執行一些步驟。 完整的說明因操作系統而異,可在此處獲得 。

Here’s a general overview of the steps in the most easy way to understand terms (as followed on MacOS):

以下是最容易理解術語的步驟的一般概述(在MacOS上如下):

Get all links

獲取所有鏈接

Above the list of links, you’ll see a link called Download links list. When you click on it, a new tab opens up with all the links in one place. Select and copy all the text and save it to a file called url.txt on your machine.

在鏈接列表上方,您會看到一個名為下載鏈接列表的鏈接 。 當您單擊它時,將打開一個新選項卡,其中所有鏈接都放在一個位置。 選擇并復制所有文本,然后將其保存到計算機上的url.txt文件中。

Create required files

創建所需的文件

In the terminal, perform the following:

在終端中,執行以下操作:

  • Go to your home using cd ~

    使用cd ~回家

  • Create a new file .netrc using touch .netrc and another file for keeping track of session during multiple curl calls using touch .urs_cookies

    使用touch .netrc創建一個新文件.netrc,并使用touch .urs_cookies創建另一個文件以在多次卷曲調用期間跟蹤會話

  • We will now save the login credentials inside this file. Type the command echo “machine urs.earthdata.nasa.gov login <uid> password <password>” >> .netrc while replacing <uid> with your username and <password> with your password

    現在,我們將登錄憑據保存在該文件中。 鍵入命令echo “machine urs.earthdata.nasa.gov login <uid> password <password>” >> .netrc同時用用戶名替換<uid>和用密碼替換<password>

  • Change its access permissions using chmod 0600 .netrc

    使用chmod 0600 .netrc更改其訪問權限

  • Type the command cat url.txt | tr -d ‘\r’ | xargs -n 1 curl -LJO -n -c ~/.urs_cookies -b ~/.urs_cookies in the terminal where your file url.txt is located and all files will be downloaded one after the other.

    鍵入命令cat url.txt | tr -d '\r' | xargs -n 1 curl -LJO -n -c ~/.urs_cookies -b ~/.urs_cookies cat url.txt | tr -d '\r' | xargs -n 1 curl -LJO -n -c ~/.urs_cookies -b ~/.urs_cookies cat url.txt | tr -d '\r' | xargs -n 1 curl -LJO -n -c ~/.urs_cookies -b ~/.urs_cookies ,位于文件url.txt所在的終端中,所有文件將一個接一個地下載。

wget is also another option but I haven’t used it as curl performs well and I didn’t feel the need to try wget.

wget也是另一種選擇,但是我沒有使用它,因為curl表現良好,而且我不認為需要嘗試wget。

7.查看數據 (7. View data)

Once the HDF5 files are downloaded, you can use HDFView to open these files and look at the dataset. You will need an account to download this software.

下載HDF5文件后,您可以使用HDFView打開這些文件并查看數據集。 您將需要一個帳戶來下載該軟件。

The data can be downloaded in other formats as well such as netCDF, ASCII etc. and there are ways to work with these files too but I haven’t worked with them personally.

數據可以以其他格式下載,例如netCDF,ASCII等。并且也可以使用這些文件,但是我個人還沒有使用它們。

Image for post
HDFView
HDF視圖

And we’re all set!!

而且我們都準備好了!!

結論 (Conclusion)

You now have a set of data files containing resourceful data collected by NASA over the years, which you can use for your own work. In an upcoming article, I will describe the steps to read a HDF5 file in Python and understand its components to use the data.

現在,您將擁有一組數據文件,其中包含NASA多年來收集的資源豐富的數據,您可以將其用于自己的工作。 在下一篇文章中,我將描述在Python中讀取HDF5文件并了解其使用數據的組件的步驟。

Hope this was insightful. If you have any questions, ideas or suggestions, please mention them in the comments.

希望這是有見地的。 如果您有任何問題,想法或建議,請在評論中提及。

翻譯自: https://towardsdatascience.com/getting-nasa-data-for-your-next-geo-project-9d621243b8f3

nasa數據庫cm1數據集

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/388486.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/388486.shtml
英文地址,請注明出處:http://en.pswp.cn/news/388486.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

注入代碼oracle

--建立類 select SYS.DBMS_EXPORT_EXTENSION.GET_DOMAIN_INDEX_TABLES(FOO,BAR,DBMS_OUTPUT".PUT(:P1);EXECUTE IMMEDIATE DECLARE PRAGMA AUTONOMOUS_TRANSACTION;BEGIN EXECUTE IMMEDIATE  create or replace and compile java source named "LinxUtil" as …

html5包含inc文件,HTML中include file標簽的用法

參數PathType將 FileName 的路徑類型。路徑可為以下某種類型&#xff1a;路徑類型 含義文件 該文件名是帶有 #include 命令的文檔所在目錄的相對路徑。被包含文件可位于相同目錄或子目錄中&#xff1b;但它不能處于帶有 #include 命令的頁的上層目錄中。虛擬 文件名為 Web 站點…

r語言處理數據集編碼_在強調編碼語言或工具之前,請學習這3個基本數據概念

r語言處理數據集編碼重點 (Top highlight)I got an Instagram DM the other day that really got me thinking. This person explained that they were a data analyst by trade, and had years of experience. But, they also said that they felt that their technical skill…

springboot微服務 java b2b2c電子商務系統(一)服務的注冊與發現(Eureka)

一、spring cloud簡介spring cloud 為開發人員提供了快速構建分布式系統的一些工具&#xff0c;包括配置管理、服務發現、斷路器、路由、微代理、事件總線、全局鎖、決策競選、分布式會話等等。它運行環境簡單&#xff0c;可以在開發人員的電腦上跑。Spring Cloud大型企業分布式…

linux部署服務器常用命令

fdisk -l 查分區硬盤 df -h 查空間硬盤 cd / 進目錄 ls/ll 文件列表 vi tt.txt iinsert 插入 shift: 進命令行 wq 保存%退出 cat tt.txt 內容查看 pwd 當期目錄信息 mkdir tt建目錄 cp tt.txt tt/11.txt 拷貝文件到tt下 mv 11.txt /usr/ 移動 rm -rf tt.txt 刪除不提示 rm t…

HTML和CSS面試問題總結,html和css面試總結

html和cssw3c 規范結構化標準語言樣式標準語言行為標準語言1) 盒模型常見的盒模型有w3c盒模型(又名標準盒模型)box-sizing:content-box和IE盒模型(又名怪異盒模型)box-sizing:border-box。標準盒子模型&#xff1a;寬度內容的寬度(content) border padding margin低版本IE盒子…

css清除浮動float的七種常用方法總結和兼容性處理

在清除浮動前我們要了解兩個重要的定義&#xff1a; 浮動的定義&#xff1a;使元素脫離文檔流&#xff0c;按照指定方向發生移動&#xff0c;遇到父級邊界或者相鄰的浮動元素停了下來。 高度塌陷&#xff1a;浮動元素父元素高度自適應&#xff08;父元素不寫高度時&#xff0c;…

數據遷移測試_自動化數據遷移測試

數據遷移測試Data migrations are notoriously difficult to test. They take a long time to run on large datasets. They often involve heavy, inflexible database engines. And they’re only meant to run once, so people think it’s throw-away code, and therefore …

使用while和FOR循環分布打印字符串S='asdfer' 中的每一個元素

方法1&#xff1a; s asdfer for i in s :print(i)方法2:index 0 while 1:print(s[index])index1if index len(s):break 轉載于:https://www.cnblogs.com/yuhoucaihong/p/10275800.html

山師計算機專業研究生怎么樣,山東師范大學有計算機專業碩士嗎?

山東師范大學位于山東省濟南市&#xff0c;學校是一所綜合性高等師范院校。該院校深受廣大報考專業碩士學員的歡迎&#xff0c;因此很多學員想要知道山東師范大學有沒有計算機專業碩士&#xff1f;山東師范大學是有計算機專業碩士的。下面就和大家介紹一下培養目標有哪些&#…

ZOJ-Crashing Balloon

先從最大的數開始, 深度優先遍歷. 如果是 m 和 n 的公因子, 先遍歷m的, 回溯返回的數值還是公因子, 再遍歷n. 如果有某一或幾條路徑可以讓 m 和 n 變成 1 ,說明 m 和 n 不沖突, m 勝利. 如果沒有找到一條路徑當 n 分解完成時, m 也分解完成, 則判定 m說謊(無論 n 是否說謊), n…

使用TensorFlow概率預測航空乘客人數

TensorFlow Probability uses structural time series models to conduct time series forecasting. In particular, this library allows for a “scenario analysis” form of modelling — whereby various forecasts regarding the future are made.TensorFlow概率使用結構…

python畫激活函數圖像

導入必要的庫 import math import matplotlib.pyplot as plt import numpy as np import matplotlib as mpl mpl.rcParams[axes.unicode_minus] False 繪制softmax函數圖像 fig plt.figure(figsize(6,4)) ax fig.add_subplot(111) x np.linspace(-10,10) y sigmoid(x)ax.s…

計算機網絡管理SIMP,計算機網絡管理實驗報告.docx

計算機網絡管理實驗報告計算機網絡管理實驗報告PAGEPAGE #計算機網絡管理實驗報告作 者&#xff1a; 孫玉虎 學 號&#xff1a;914106840229學院(系)&#xff1a;計算機科學與工程學院專 業&#xff1a;網絡工程題 目&#xff1a;SNMR報文禾口 MIB指導教師陸一飛2016年12月目錄…

tomcat集群

1】 下載安裝 httpd-2.2.15-win32-x86-no_ssl.msi 網頁服務器 32-bit Windows zip tomcat mod_jk-1.2.30-httpd-2.2.3.so Apache/IIS 用來連接后臺Tomcat的模塊&#xff0c;支持集群和負載均衡 JK 分為兩個版本 1,x 和 2.x &…

pdf.js插件使用記錄,在線打開pdf

pdf.js插件使用記錄&#xff0c;在線打開pdf 原文:pdf.js插件使用記錄&#xff0c;在線打開pdf天記錄一個js庫&#xff1a;pdf.js。主要是實現在線打開pdf功能。因為項目需求需要能在線查看pdf文檔&#xff0c;所以就研究了一下這個控件。 有些人很好奇&#xff0c;在線打開pdf…

程序員 sql面試_非程序員SQL使用指南

程序員 sql面試Today, the word of the moment is DATA, this little combination of 4 letters is transforming how all companies and their employees work, but most people don’t really know how data behaves or how to access it and they also think that this is j…

Apache+Tomcat集群負載均衡的兩種session處理方式

session共享有兩種方式&#xff1a; 1、session共享&#xff0c;多個服務器session拷貝保存&#xff0c;一臺宕機不會影響用戶的登錄狀態&#xff1b; 2、請求精確集中定位&#xff0c;即當前用戶的請求都集中定位到一臺服務器中&#xff0c;這樣單臺服務器保存了用戶的sessi…

SmartSVN:File has inconsistent newlines

用SmartSVN提交文件的時候&#xff0c;提示svn: File has inconsistent newlines 這是由于要提交的文件編碼時混合了windows和unix符號導致的。 解決方案 SmartSVN設置做如下修改可以解決問題&#xff1a; Project–>Setting選擇Working copy下的EOL-style將Default EOL-sty…

我要認真學Git了 - Config

有一天&#xff0c;當我像往常一樣打開SourceTree提交代碼&#xff0c;然后推送的時候&#xff0c;我突然意識到我只是根據肌肉記憶完成這個過程&#xff0c;我壓根不知道這其中到底發生了什么。這是個很嚴重的問題&#xff0c;作為一個技術人員&#xff0c;居然只滿足于使用工…