Skip to content

Commit acdb305

Browse files
committed
pymodis: use https for https://e4ftl01.cr.usgs.gov ; update pyModis homepage url
1 parent 0a979f7 commit acdb305

10 files changed

+11
-11
lines changed

COPYING

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ pyModis Development Team at the following address:
2929
38010 S. Michele all'Adige (Trento), Italy
3030
luca.delucchi AT fmach DOT it
3131

32-
Internet: http://pymodis.fem-environment.eu/
32+
Internet: http://www.pymodis.org/

debian/control

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Maintainer: Angelos Tzotsos <[email protected]>
55
Build-Depends: debhelper (>= 7.0.50), python-setuptools (>= 0.6), python-support (>=0.6), python-all-dev (>= 2.3.5-11), python (>= 2.6.6-3)
66
Standards-Version: 3.9.3
77
X-Python-Version: >= 2.5
8-
Homepage: http://pymodis.fem-environment.eu/
8+
Homepage: http://www.pymodis.org/
99

1010
Package: python-pymodis
1111
Architecture: all

debian/copyright

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ pyModis Development Team at the following address:
3333
38010 S. Michele all'Adige (Trento), Italy
3434
luca.delucchi AT fmach DOT it
3535

36-
Internet: http://pymodis.fem-environment.eu/
36+
Internet: http://www.pymodis.org/

docs/source/examples/pyModis.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -541,11 +541,11 @@
541541
"level": 3,
542542
"metadata": {},
543543
"source": [
544-
"The tutorial is finished, you can find more info at <a href=\"http://pymodis.fem-environment.eu\" targe=\"_blank\">pyModis website</a>"
544+
"The tutorial is finished, you can find more info at <a href=\"http://www.pymodis.org/\" targe=\"_blank\">pyModis website</a>"
545545
]
546546
}
547547
],
548548
"metadata": {}
549549
}
550550
]
551-
}
551+
}

docs/source/scripts/modis_download.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Options
2323
::
2424

2525
-h --help shows the help message and exit
26-
-u --url http/ftp server url [default=http://e4ftl01.cr.usgs.gov]
26+
-u --url http/ftp server url [default=https://e4ftl01.cr.usgs.gov]
2727
-P --password password to connect (only if ftp server url)
2828
-U --username username to connect (only if ftp server url)
2929
[default=anonymous]

docs/source/scripts/modis_download_from_list.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Options
2424

2525
-h --help show the help message and exit
2626
-f --file Input file containing data to donwload
27-
-u --url http/ftp server url [default=http://e4ftl01.cr.usgs.gov]
27+
-u --url http/ftp server url [default=https://e4ftl01.cr.usgs.gov]
2828
-P --password password to connect only if ftp server
2929
-U --username username to connect only if ftp server
3030
[default=anonymous]

pymodis/downmodis.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ class downModis:
210210
:param bool checkgdal: variable to set the GDAL check
211211
"""
212212
def __init__(self, destinationFolder, password=None, user="anonymous",
213-
url="http://e4ftl01.cr.usgs.gov", tiles=None, path="MOLT",
213+
url="https://e4ftl01.cr.usgs.gov", tiles=None, path="MOLT",
214214
product="MOD11A1.005", today=None, enddate=None, delta=10,
215215
jpg=False, debug=False, timeout=30, checkgdal=True):
216216
"""Function to initialize the object"""

rpm/python-pymodis.spec

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Version: 0.7.4
2626
Release: 0
2727
Summary: PyModis is a FOSS Python library to work with MODIS data
2828
License: GPLv2+
29-
Url: http://pymodis.fem-environment.eu
29+
Url: http://www.pymodis.org/
3030
Group: Productivity/Scientific/Other
3131
Source0: %{pyname_cap}-%{version}.tar.gz
3232
BuildRoot: %{_tmppath}/%{name}-%{version}-build

scripts/modis_download.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def main():
3939
option_parser_class = optparse_required.OptionParser
4040
parser = option_parser_class(usage=usage, description='modis_download')
4141
# url
42-
parser.add_option("-u", "--url", default="http://e4ftl01.cr.usgs.gov",
42+
parser.add_option("-u", "--url", default="https://e4ftl01.cr.usgs.gov",
4343
help="http/ftp server url [default=%default]",
4444
dest="url")
4545
# password

scripts/modis_download_from_list.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def main():
4646
parser.add_option("-f", "--file", dest="file", type='file',
4747
help="Input file containing data to download")
4848
# url
49-
parser.add_option("-u", "--url", default="http://e4ftl01.cr.usgs.gov",
49+
parser.add_option("-u", "--url", default="https://e4ftl01.cr.usgs.gov",
5050
help="http/ftp server url [default=%default]",
5151
dest="url")
5252
# password

0 commit comments

Comments
 (0)