Skip to content

Commit f1f42be

Browse files
committed
Start
0 parents  commit f1f42be

17 files changed

+639
-0
lines changed

.codecov.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
comment: false

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*.jl.cov
2+
*.jl.*.cov
3+
*.jl.mem
4+
/deps/deps.jl
5+
/docs/build

.gitlab-ci.yml

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
image: julia:1.1 # image comes from Docker hub
2+
3+
before_script:
4+
- julia --project=@. -e "import Pkg; Pkg.build()"
5+
6+
default:
7+
script:
8+
- julia --project=@. -e "import Pkg; Pkg.test(; coverage = true)"
9+
- julia --project=test/coverage -e 'import Pkg; Pkg.instantiate()'
10+
- julia --project=test/coverage test/coverage/coverage-summary.jl
11+
12+
pages:
13+
stage: deploy
14+
script:
15+
- julia --project=docs -e 'using Pkg; Pkg.instantiate(); Pkg.develop(PackageSpec(path=pwd()))'
16+
- julia --project=docs --color=yes docs/make.jl
17+
- mv docs/build public # move to the directory picked up by Gitlab pages
18+
artifacts:
19+
paths:
20+
- public
21+
only:
22+
- master

LICENSE.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
The RemoteS.jl package is licensed under the MIT "Expat" License:
2+
3+
> Copyright (c) 2021: Joaquim Luis.
4+
>
5+
> Permission is hereby granted, free of charge, to any person obtaining a copy
6+
> of this software and associated documentation files (the "Software"), to deal
7+
> in the Software without restriction, including without limitation the rights
8+
> to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
> copies of the Software, and to permit persons to whom the Software is
10+
> furnished to do so, subject to the following conditions:
11+
>
12+
> The above copyright notice and this permission notice shall be included in all
13+
> copies or substantial portions of the Software.
14+
>
15+
> THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
> IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
> FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
> AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
> LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
> OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
> SOFTWARE.
22+
>

Project.toml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name = "RemoteS"
2+
uuid = "26020ff4-e92a-488e-a723-09c28e89e04a"
3+
authors = ["Joaquim Luis <[email protected]>"]
4+
version = "0.1.0"
5+
6+
[deps]
7+
GMT = "5752ebe1-31b9-557e-87aa-f909b540aa54"
8+
9+
[extras]
10+
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
11+
12+
[targets]
13+
test = ["Test"]
14+
15+
[compat]
16+
julia = "1.5"

README.md

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# RemoteS.jl
2+
3+
![Lifecycle](https://img.shields.io/badge/lifecycle-experimental-orange.svg)<!--
4+
![Lifecycle](https://img.shields.io/badge/lifecycle-maturing-blue.svg)
5+
![Lifecycle](https://img.shields.io/badge/lifecycle-stable-green.svg)
6+
![Lifecycle](https://img.shields.io/badge/lifecycle-retired-orange.svg)
7+
![Lifecycle](https://img.shields.io/badge/lifecycle-archived-red.svg)
8+
![Lifecycle](https://img.shields.io/badge/lifecycle-dormant-blue.svg) -->
9+
[![codecov.io](http://codecov.io/github/joa-quim/RemoteS.jl/coverage.svg?branch=master)](http://codecov.io/github/joa-quim/RemoteS.jl?branch=master)
10+
<!--
11+
[![Documentation](https://img.shields.io/badge/docs-stable-blue.svg)](https://joa-quim.github.io/RemoteS.jl/stable)
12+
[![Documentation](https://img.shields.io/badge/docs-master-blue.svg)](https://joa-quim.github.io/RemoteS.jl/dev)
13+
-->
14+
15+
Skeleton package to perform operations in satellite data. It depends heavily, and so far only, on
16+
[GMT.jl](https://github.com/GenericMappingTools/GMT.jl). Since GMT relies on GDAL to read many raster formats
17+
most of satellite and other remote sensing data can be read and processed by this package.
18+
19+
Install
20+
=======
21+
22+
] add https://github.com/GenericMappingTools/RemoteS.jl

docs/Manifest.toml

+89
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
# This file is machine-generated - editing it directly is not advised
2+
3+
julia_version = "1.7.0-beta3.0"
4+
manifest_format = "2.0"
5+
6+
[[deps.Base64]]
7+
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
8+
9+
[[deps.Dates]]
10+
deps = ["Printf"]
11+
uuid = "ade2ca70-3891-5945-98fb-dc099432e06a"
12+
13+
[[deps.DocStringExtensions]]
14+
deps = ["LibGit2"]
15+
git-tree-sha1 = "a32185f5428d3986f47c2ab78b1f216d5e6cc96f"
16+
uuid = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
17+
version = "0.8.5"
18+
19+
[[deps.Documenter]]
20+
deps = ["Base64", "Dates", "DocStringExtensions", "InteractiveUtils", "JSON", "LibGit2", "Logging", "Markdown", "REPL", "Test", "Unicode"]
21+
git-tree-sha1 = "395fa1554c69735802bba37d9e7d9586fd44326c"
22+
uuid = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
23+
version = "0.24.11"
24+
25+
[[deps.InteractiveUtils]]
26+
deps = ["Markdown"]
27+
uuid = "b77e0a4c-d291-57a0-90e8-8db25a27a240"
28+
29+
[[deps.JSON]]
30+
deps = ["Dates", "Mmap", "Parsers", "Unicode"]
31+
git-tree-sha1 = "81690084b6198a2e1da36fcfda16eeca9f9f24e4"
32+
uuid = "682c06a0-de6a-54ab-a142-c8b1cf79cde6"
33+
version = "0.21.1"
34+
35+
[[deps.LibGit2]]
36+
deps = ["Base64", "NetworkOptions", "Printf", "SHA"]
37+
uuid = "76f85450-5226-5b5a-8eaa-529ad045b433"
38+
39+
[[deps.Logging]]
40+
uuid = "56ddb016-857b-54e1-b83d-db4d58db5568"
41+
42+
[[deps.Markdown]]
43+
deps = ["Base64"]
44+
uuid = "d6f4376e-aef5-505a-96c1-9c027394607a"
45+
46+
[[deps.Mmap]]
47+
uuid = "a63ad114-7e13-5084-954f-fe012c677804"
48+
49+
[[deps.NetworkOptions]]
50+
uuid = "ca575930-c2e3-43a9-ace4-1e988b2c1908"
51+
52+
[[deps.Parsers]]
53+
deps = ["Dates"]
54+
git-tree-sha1 = "94bf17e83a0e4b20c8d77f6af8ffe8cc3b386c0a"
55+
uuid = "69de0a69-1ddd-5017-9359-2bf0b02dc9f0"
56+
version = "1.1.1"
57+
58+
[[deps.Printf]]
59+
deps = ["Unicode"]
60+
uuid = "de0858da-6303-5e67-8744-51eddeeeb8d7"
61+
62+
[[deps.REPL]]
63+
deps = ["InteractiveUtils", "Markdown", "Sockets", "Unicode"]
64+
uuid = "3fa0cd96-eef1-5676-8a61-b3b8758bbffb"
65+
66+
[[deps.Random]]
67+
deps = ["Serialization"]
68+
uuid = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
69+
70+
[[deps.RemoteS]]
71+
path = ".."
72+
uuid = "26020ff4-e92a-488e-a723-09c28e89e04a"
73+
version = "0.1.0"
74+
75+
[[deps.SHA]]
76+
uuid = "ea8e919c-243c-51af-8825-aaa63cd721ce"
77+
78+
[[deps.Serialization]]
79+
uuid = "9e88b42a-f829-5b0c-bbe9-9e923198166b"
80+
81+
[[deps.Sockets]]
82+
uuid = "6462fe0b-24de-5631-8697-dd941f90decc"
83+
84+
[[deps.Test]]
85+
deps = ["InteractiveUtils", "Logging", "Random", "Serialization"]
86+
uuid = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
87+
88+
[[deps.Unicode]]
89+
uuid = "4ec0a83e-493e-50e2-b9ac-8f72acf5a8f5"

docs/Project.toml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[deps]
2+
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
3+
RemoteS = "26020ff4-e92a-488e-a723-09c28e89e04a"
4+
5+
[compat]
6+
Documenter = "~0.24"

docs/make.jl

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
using Documenter, RemoteS
2+
3+
makedocs(
4+
modules = [RemoteS],
5+
format = Documenter.HTML(; prettyurls = get(ENV, "CI", nothing) == "true"),
6+
authors = "Joaquim Luis",
7+
sitename = "RemoteS.jl",
8+
pages = Any["index.md"]
9+
# strict = true,
10+
# clean = true,
11+
# checkdocs = :exports,
12+
)
13+
14+
deploydocs(
15+
repo = "github.com/GenericMappingTools/RemoteS.jl.git",
16+
push_preview = true
17+
)

docs/src/index.md

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# RemoteS
2+
3+
## Index
4+
5+
```@index
6+
Modules = RemoteS
7+
Order = [:function, :type, :module]
8+
```
9+
10+
## Functions
11+
12+
```@autodocs
13+
Modules = RemoteS
14+
Order = [:function, :type, :module]
15+
```

src/RemoteS.jl

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
module RemoteS
2+
3+
export
4+
bright_T, grid_at_sensor, ndvi, truecolor, radiance_TOA, reflectance_TOA, reflectance_surf
5+
6+
include("grid_at_sensor.jl")
7+
include("utils.jl")
8+
9+
end # module

0 commit comments

Comments
 (0)