landsatxplore
landsatxplore copied to clipboard
Update earthexplorer.py
Hello, today I realised the EarthExplorer module just stop working. I researched a bit and found out the ncform value is not anymore in the request. I just commented out the variable ncform and seems to work again.
If you need more information about the issue, just let me know.
thanks for bringing it out, I am facing the same issue. When I implemented your solution unfortunately still did not work for me.
Hi @Ahmed-0357 I checked a script I have downloading information (with my modified version) and it still works. What error do you get? For me it was an IndexError pointing to the ncform variable.
Oh, thanks a lot! I meet the same question and it has been solved by using your modified version!
@jcintasr I am getting this error
Traceback (most recent call last):
File "C:\Users\User\anaconda3\envs\rsdatacoll\lib\site-packages\requests\models.py", line 910, in json
return complexjson.loads(self.text, **kwargs)
File "C:\Users\User\anaconda3\envs\rsdatacoll\lib\json_init_.py", line 354, in loads
return _default_decoder.decode(s)
File "C:\Users\User\anaconda3\envs\rsdatacoll\lib\json\decoder.py", line 339, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "C:\Users\User\anaconda3\envs\rsdatacoll\lib\json\decoder.py", line 357, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\User\anaconda3\envs\rsdatacoll\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "C:\Users\User\anaconda3\envs\rsdatacoll\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\User\anaconda3\envs\rsdatacoll\Scripts\landsatxplore.exe_main.py", line 7, in You don't have permission to access this resource.Forbidden
@Ahmed-0357 I think your problem is another one. Try to open an issue and check if someone solves it.
@jcintasr yes it works for me now ... much appreciated your help
thanks @jcintasr your solution works perfectly. mis dieses
Oh, thanks a lot! I meet the same question and it has been solved by using your modified version!
Oh, How did you fix this ncform problem?
Oh, 你是如何修改这个 ncform 问题?