Questions tagged [pymodis]

pyModis is a Python library to download and process MODIS data from NASA server

5 questions
1
vote
0 answers

How to force pymodis python script to bypass internet explorer proxy

I am trying to use the pymodis (www.pymodis.org/index.html) python library to download modis data but I get stopped by my internet explorer proxy. I can deactivate it manually and it works fine but I would like to know if there is a way to modify…
0
votes
0 answers

HOW to convert '2d' to 'GEO2D' type in xarrray?

When I used the MODIS data,I got a problem about the Type. I got the coord by xarray(python 3.9),but I couldn't get the same type as 'GEO2D'. xr_tmp = xr.Dataset( { 'Gpp_500m' : (('XDim', 'YDim','time'), Gpp_500m), 'Npp_500m' : …
马希仁
  • 1
  • 1
0
votes
0 answers

NC files downloaded using requests in python are corrupted

I want to download 10 years of modis monthly data, for which I have links as lines in a text file. I used the following code: import requests import os import urllib file = open("link.txt", "r") Lines = file.readlines() for…
0
votes
0 answers

Remove black values in a modis merge image

the following image shows my actuall result of a merged modis image. I used pyhdf.SD to open and manipulate and plot the data in a loop. It started on the right upper corner. The plot is ok... put on some areas overlaped. The easiest way is to…
S.Kociok
  • 168
  • 1
  • 14
0
votes
1 answer

Error using pymodis.convertmodis.createMosaic

I am using pymodis to reproject and mosaic the datasets using MRT. I have successfully reprojected the data using pymodis package as below : list_modis=glob.glob('*.hdf') for i in range(0,len(list_modis)): …
PUJA
  • 639
  • 1
  • 8
  • 18