Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
SunIBAS committed Jun 29, 2020
1 parent 0b1c4d1 commit a6f2dfb
Show file tree
Hide file tree
Showing 19 changed files with 550 additions and 0 deletions.
6 changes: 6 additions & 0 deletions chrom_utils/沙拉pdf阅读背景.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
setInterval(function () {
var tx = document.getElementsByClassName('textLayer');
for (var i = 0; i < tx.length; i++) {
tx[i].style.background = "#58796d";
}
}, 5000)
30 changes: 30 additions & 0 deletions data_download/下载modis数据/bat.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
curl -# -H "Authorization: Bearer EC31A80C-6F0E-11EA-954F-A3165C627207" "https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h27v05.006.2020018002125.hdf" -o MOD13A1.A2020001.h27v05.006.2020018002125.hdf
curl -# -H "Authorization: Bearer EC31A80C-6F0E-11EA-954F-A3165C627207" "https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h28v05.006.2020018002222.hdf" -o MOD13A1.A2020001.h28v05.006.2020018002222.hdf
curl -# -H "Authorization: Bearer EC31A80C-6F0E-11EA-954F-A3165C627207" "https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h28v06.006.2020018002148.hdf" -o MOD13A1.A2020001.h28v06.006.2020018002148.hdf
curl -# -H "Authorization: Bearer EC31A80C-6F0E-11EA-954F-A3165C627207" "https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h29v06.006.2020018001925.hdf" -o MOD13A1.A2020001.h29v06.006.2020018001925.hdf
curl -# -H "Authorization: Bearer EC31A80C-6F0E-11EA-954F-A3165C627207" "https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h27v06.006.2020018001105.hdf" -o MOD13A1.A2020001.h27v06.006.2020018001105.hdf
curl -# -H "Authorization: Bearer EC31A80C-6F0E-11EA-954F-A3165C627207" "https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h28v07.006.2020018002334.hdf" -o MOD13A1.A2020001.h28v07.006.2020018002334.hdf
curl -# -H "Authorization: Bearer EC31A80C-6F0E-11EA-954F-A3165C627207" "https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h23v04.006.2020018002201.hdf" -o MOD13A1.A2020001.h23v04.006.2020018002201.hdf
curl -# -H "Authorization: Bearer EC31A80C-6F0E-11EA-954F-A3165C627207" "https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h23v05.006.2020018002150.hdf" -o MOD13A1.A2020001.h23v05.006.2020018002150.hdf
curl -# -H "Authorization: Bearer EC31A80C-6F0E-11EA-954F-A3165C627207" "https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h24v04.006.2020018001017.hdf" -o MOD13A1.A2020001.h24v04.006.2020018001017.hdf
curl -# -H "Authorization: Bearer EC31A80C-6F0E-11EA-954F-A3165C627207" "https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h24v05.006.2020018000957.hdf" -o MOD13A1.A2020001.h24v05.006.2020018000957.hdf
curl -# -H "Authorization: Bearer EC31A80C-6F0E-11EA-954F-A3165C627207" "https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h25v03.006.2020018002434.hdf" -o MOD13A1.A2020001.h25v03.006.2020018002434.hdf
curl -# -H "Authorization: Bearer EC31A80C-6F0E-11EA-954F-A3165C627207" "https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h25v04.006.2020018002334.hdf" -o MOD13A1.A2020001.h25v04.006.2020018002334.hdf
curl -# -H "Authorization: Bearer EC31A80C-6F0E-11EA-954F-A3165C627207" "https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h25v05.006.2020018000928.hdf" -o MOD13A1.A2020001.h25v05.006.2020018000928.hdf
curl -# -H "Authorization: Bearer EC31A80C-6F0E-11EA-954F-A3165C627207" "https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h25v06.006.2020018002015.hdf" -o MOD13A1.A2020001.h25v06.006.2020018002015.hdf
curl -# -H "Authorization: Bearer EC31A80C-6F0E-11EA-954F-A3165C627207" "https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h26v03.006.2020018002356.hdf" -o MOD13A1.A2020001.h26v03.006.2020018002356.hdf
curl -# -H "Authorization: Bearer EC31A80C-6F0E-11EA-954F-A3165C627207" "https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h26v04.006.2020018002351.hdf" -o MOD13A1.A2020001.h26v04.006.2020018002351.hdf
curl -# -H "Authorization: Bearer EC31A80C-6F0E-11EA-954F-A3165C627207" "https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h26v05.006.2020018002546.hdf" -o MOD13A1.A2020001.h26v05.006.2020018002546.hdf
curl -# -H "Authorization: Bearer EC31A80C-6F0E-11EA-954F-A3165C627207" "https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h26v06.006.2020018000909.hdf" -o MOD13A1.A2020001.h26v06.006.2020018000909.hdf
curl -# -H "Authorization: Bearer EC31A80C-6F0E-11EA-954F-A3165C627207" "https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h27v04.006.2020018002004.hdf" -o MOD13A1.A2020001.h27v04.006.2020018002004.hdf


curl -# -H "Authorization: Bearer EC31A80C-6F0E-11EA-954F-A3165C627207" "https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h26v03.006.2020018002356.hdf" -o MOD13A1.A2020001.h26v03.006.2020018002356.hdf
curl -# -H "Authorization: Bearer EC31A80C-6F0E-11EA-954F-A3165C627207" "https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h26v04.006.2020018002351.hdf" -o MOD13A1.A2020001.h26v04.006.2020018002351.hdf
curl -# -H "Authorization: Bearer EC31A80C-6F0E-11EA-954F-A3165C627207" "https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h26v05.006.2020018002546.hdf" -o MOD13A1.A2020001.h26v05.006.2020018002546.hdf
curl -# -H "Authorization: Bearer EC31A80C-6F0E-11EA-954F-A3165C627207" "https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h26v06.006.2020018000909.hdf" -o MOD13A1.A2020001.h26v06.006.2020018000909.hdf


curl -# -H "Authorization: Bearer EC31A80C-6F0E-11EA-954F-A3165C627207" "https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h29v07.006.2020018002227.hdf" -o MOD13A1.A2020001.h29v07.006.2020018002227.hdf
curl -# -H "Authorization: Bearer EC31A80C-6F0E-11EA-954F-A3165C627207" "https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h28v08.006.2020018001001.hdf" -o MOD13A1.A2020001.h28v08.006.2020018001001.hdf
curl -# -H "Authorization: Bearer EC31A80C-6F0E-11EA-954F-A3165C627207" "https://ladsweb.modaps.eosdis.nasa.gov/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h29v08.006.2020018002326.hdf" -o MOD13A1.A2020001.h29v08.006.2020018002326.hdf
115 changes: 115 additions & 0 deletions data_download/下载modis数据/query.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,115 @@
{
"query": "MOD13A1--6 2020-01-01..2020-01-16 x73.62y53.54 x134.76y18.19[5]",
"5149801512": {
"url": "/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h27v05.006.2020018002125.hdf",
"size": "57968660"
},
"5149802874": {
"url": "/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h28v05.006.2020018002222.hdf",
"size": "22693100"
},
"5149802148": {
"url": "/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h28v06.006.2020018002148.hdf",
"size": "43241549"
},
"5149798246": {
"url": "/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h29v06.006.2020018001925.hdf",
"size": "5434974"
},
"5149790144": {
"url": "/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h27v06.006.2020018001105.hdf",
"size": "74072397"
},
"5149804791": {
"url": "/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h28v07.006.2020018002334.hdf",
"size": "32988290"
},
"5149788985": {
"url": "/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h21v03.006.2020018001021.hdf",
"size": "80409294"
},
"5149807373": {
"url": "/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h22v03.006.2020018002515.hdf",
"size": "81519538"
},
"5149790547": {
"url": "/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h22v04.006.2020018001123.hdf",
"size": "72239111"
},
"5149802654": {
"url": "/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h23v03.006.2020018002212.hdf",
"size": "84042077"
},
"5149802324": {
"url": "/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h23v04.006.2020018002201.hdf",
"size": "80541462"
},
"5149802146": {
"url": "/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h23v05.006.2020018002150.hdf",
"size": "77841549"
},
"5149808281": {
"url": "/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h24v03.006.2020018002555.hdf",
"size": "88293516"
},
"5149788763": {
"url": "/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h24v04.006.2020018001017.hdf",
"size": "82834011"
},
"5149788350": {
"url": "/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h24v05.006.2020018000957.hdf",
"size": "77874960"
},
"5149788542": {
"url": "/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h24v06.006.2020018001007.hdf",
"size": "57226834"
},
"5149806196": {
"url": "/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h25v03.006.2020018002434.hdf",
"size": "71070463"
},
"5149804867": {
"url": "/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h25v04.006.2020018002334.hdf",
"size": "79649430"
},
"5149787589": {
"url": "/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h25v05.006.2020018000928.hdf",
"size": "81950648"
},
"5149799754": {
"url": "/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h25v06.006.2020018002015.hdf",
"size": "74757673"
},
"5149805458": {
"url": "/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h26v03.006.2020018002356.hdf",
"size": "39244929"
},
"5149805459": {
"url": "/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h26v04.006.2020018002351.hdf",
"size": "85926645"
},
"5149808082": {
"url": "/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h26v05.006.2020018002546.hdf",
"size": "78452940"
},
"5149787292": {
"url": "/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h26v06.006.2020018000909.hdf",
"size": "69282386"
},
"5149799574": {
"url": "/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h27v04.006.2020018002004.hdf",
"size": "53579361"
},
"5149789535": {
"url": "/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h28v04.006.2020018001048.hdf",
"size": "10341828"
},
"5149790695": {
"url": "/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h29v05.006.2020018001131.hdf",
"size": "14863882"
},
"5149803070": {
"url": "/archive/allData/6/MOD13A1/2020/001/MOD13A1.A2020001.h30v06.006.2020018002230.hdf",
"size": "2616347"
}
}
16 changes: 16 additions & 0 deletions data_download/下载modis数据/tobat.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// curl -# -H "Authorization: Bearer 授权码" "https://ladsweb.modaps.eosdis.nasa.gov/链接" -o MOD09.A2019210.0200.006.2019212020245.hdf
const fs = require('fs')
const q = require('./query.json')

let getCmd = url => {
let surl = url.split('/');
return `curl -# -H "Authorization: Bearer EC31A80C-6F0E-11EA-954F-A3165C627207" "https://ladsweb.modaps.eosdis.nasa.gov${url}" -o ${surl[surl.length - 1]}`
}
let out = [];
for (let i in q) {
if (q[i].url) {
out.push(getCmd(q[i].url))
}
}

fs.writeFileSync('./bat.bat', out.join('\r\n'), 'utf-8');
1 change: 1 addition & 0 deletions language_learning/R/相关文档.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## [raster 库](https://cran.r-project.org/web/packages/raster/raster.pdf)
11 changes: 11 additions & 0 deletions language_learning/geotrellis/cat 相关.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# 参考网站如下

[https://scala.cool/tags/Cats/](https://scala.cool/tags/Cats/)

[https://scala.cool/](https://scala.cool/)

[http://eed3si9n.com/herding-cats/](http://eed3si9n.com/herding-cats/)

[https://books.underscore.io/scala-with-cats/scala-with-cats.pdf](https://books.underscore.io/scala-with-cats/scala-with-cats.pdf)

[https://github.com/kwame998/scala-with-cats](https://github.com/kwame998/scala-with-cats)
Loading

0 comments on commit a6f2dfb

Please sign in to comment.