![](/img/trans.png)
[英]using python to download sentinel imagery directly
我正在嘗試使用 python 直接下載哨兵衛星圖像。 這個想法是使用 sentinelsat API 和 geojson 多邊形來下載它。 但是它會下載整個圖像,而不僅僅是多邊形。 有沒有辦法讓它只下載多邊形或自動裁剪想要的區域? 先感謝您 ...
[英]using python to download sentinel imagery directly
我正在嘗試使用 python 直接下載哨兵衛星圖像。 這個想法是使用 sentinelsat API 和 geojson 多邊形來下載它。 但是它會下載整個圖像,而不僅僅是多邊形。 有沒有辦法讓它只下載多邊形或自動裁剪想要的區域? 先感謝您 ...
[英]Cannot import sentinelsat python module
我是一個 python 新手,正在嘗試讓 sentinelhub 模塊工作,但在我的代碼中收到此錯誤消息: 導入前哨集線器 回溯(最后一次調用):文件“<pyshell#0>”,第 1 行,在 import sentinelhub ImportError: No module name ...
[英]Invalid Checksum with Python API sentinelsat. Using GEOPANDAS and Geojson
我正在嘗試找到一種自動下載衛星圖像以創建數據庫的方法。 我正在解決這個問題並從 sentinelsat API 開始,由於它的特殊性,那里沒有太多關於它的信息。 我的步驟在哪里:我使用這個網站https://geojson.io來 select 一個多邊形,並下載一個 geojson 文件。 我實 ...
[英]Exporting geometry form Sentinel 1 data using -S1 TOPS SPLIT Analyzer (STSA)
我希望從 Sentinel 1 SLC 產品中導出幾何圖形。 我正在使用此處記錄的 S1 TOPS SPLIT 分析儀 (STSA)。 一切似乎都適用於出口部分。 我的代碼按照文檔中的示例: 但是,當我嘗試使用 shapfile、geojson 或 csv 導出幾何時: 我得到一個錯誤: 我很想知 ...
[英]Python requests - download image and write to file not working due to nature of URI and authentification procedure
我正在編寫一個使用sentinelsat Python API 下載 Sentinel 2 產品(衛星圖像)的腳本。 產品描述的結構為 JSON 並包含參數quicklook_url 。 例子: https://apihub.copernicus.eu/apihub/odata/v1/Produc ...
[英]How to solve the error << TqdmKeyError: "Unknown argument(s): {'delay': 2}" >> when downloading sentinel data using the sentinelsat API in Python?
我正在嘗試使用用於 Python 的 sentinelsat API 下載 Sentinel-3 數據。 運行代碼時,我收到以下錯誤: “” TqdmKeyError("未知參數:" + str(kwargs))) TqdmKeyError:“未知參數:{'delay': 2}”。 “” ...
[英]AttributeError: module 'rasterio' has no attribute 'mask'
我正在嘗試通過遵循一些教程來學習 sentinelsat。 部分代碼是這樣的。 行out_image, out_transform = rio.mask.mask(src, nReserve_proj.geometry,crop=True)給我錯誤。 錯誤是這樣的—— 但是 rasterio 的文 ...
[英]Downscaling sentinel-2 bands to 10m using R language
我正在嘗試使用 R 語言中的sentinel-2 波段來計算NDRE 。 NDRE的公式 = (nir-re)/(nir+re) nir - 近紅外(Band8) 重新- RedEdge (Band5) 我的代碼: 但是由於 Bands5 和 Band8分辨率的差異,似乎存在錯誤。 comp ...
[英]Sentinel API error on Python: HTTP status 200 OK: API response not valid. JSON decoding failed
我一直在嘗試遵循一個簡單的教程,了解如何為我擁有的一系列多邊形獲取哨兵 2 圖像。 出於某種原因,無論我做什么,我都會遇到同樣的錯誤(詳見上文)。 我不斷收到的錯誤是: ...
[英]Unable to access and download Sentinel-2 images from Python API with the standard code
rec = POLYGON ((597843.23 2977645.792070312, 686175.1025585937 2977645.792070312, 686175.1025585937 3112308.537736816, 597843.23 3112308.537736816, 59 ...
[英]SentinelAPIError. HTTP status 200 OK: API response not valid. JSON decoding failed
我一直在嘗試通過 sentinel2 API 和 python 獲取數據,但我無法通過 geojson 格式獲取數據。 它不斷拋出“SentinelAPIError: HTTP status 200 OK: API 響應無效。JSON 解碼失敗。” 我徹底遵循了文檔,但我一直遇到同樣的錯誤。 我可以 ...
[英]Variable/optional arguments in a function within a function
我正在編寫一個腳本,讓我連接到 Sentinel 衛星數據庫以下載請求的地圖文件。 我的問題取決於我將使用哪種“衛星”輸入會改變其他哪些參數是必要的、必需的甚至是允許的。 有些不需要“sensormode”,而另一些則可能需要“cloudcoverage”。 我將如何在函數內的函數中編寫帶有變量 ...
[英]Python API sentinelsat HTTP status 500 Internal Server Error:
顯示錯誤:“HTTP 狀態 500 內部服務器錯誤:嘗試下載離線產品”我使用的代碼是 ...
[英]How to download a product in a directory?
我正在編寫一個簡單的腳本來使用 Sentinelsat 的 Python API 獲取一些 SENTINEL 產品 然后我想將一些產品下載到與腳本不同的目錄。 我不知道該怎么做。 我的劇本 但我想下載不同目錄中的產品。 例如 。/數據 ...
[英]Python API sentinelsat error in query intersect
我在搜索包含特定坐標的圖像時遇到問題。 我無法讓 intersect 函數與 API 一起使用。 我收到此錯誤消息: 那么我怎樣才能讓查詢與交集一起工作? 使用的代碼: 知道如何解決這個問題嗎? ...
[英]Obtaining the sum of several elements listed in a geojson
如果您之前曾在其他地方提出或回答過此問題,我深表歉意。 我找不到它。 我對python還是比較陌生,目前正在設置一個腳本,用於通過sentinelsat模塊從ESA哨兵中心下載文件。 現在它可以工作了,但是我希望它有一種打印所涉及的文件總大小的方法。 我已經打印了所有文件的名稱及 ...
[英]Python API sentinelsat error in download
我正在嘗試使用sentinelsat python API下載衛星圖像。 但是,當我嘗試轉換為熊貓數據框時,收到錯誤消息。 此代碼有效並下載了我請求的哨兵衛星圖像: from sentinelsat import SentinelAPI, read_geojson, geojson_to_ ...