Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# SCM syntax highlighting & preventing 3-way merges
pixi.lock merge=binary linguist-language=YAML linguist-generated=true -diff
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,9 @@
.Ruserdata
.idea
data/
.vscode
.vscode

# pixi environments
.pixi/*
!.pixi/config.toml

14 changes: 0 additions & 14 deletions PythonRaster.Rproj

This file was deleted.

7 changes: 7 additions & 0 deletions _quarto.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# _quarto.yml
project:
type: website
output-dir: _site

website:
title: "Python Raster"
14 changes: 0 additions & 14 deletions env.yaml

This file was deleted.

2,575 changes: 1,059 additions & 1,516 deletions index.html

Large diffs are not rendered by default.

405 changes: 215 additions & 190 deletions index.Rmd → index.qmd

Large diffs are not rendered by default.

5,297 changes: 5,297 additions & 0 deletions pixi.lock

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this accidentally added? Or is it necessary to run the qmd?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not necessary, but it will make resolving the environment a bit quicker.

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions pixi.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
[workspace]
authors = ["Arno Timmer <arno.timmer@wur.nl>"]
channels = ["conda-forge"]
name = "raster"
platforms = ["win-64"]
version = "0.1.0"

[tasks]

[dependencies]
python = "*"
numpy = "*"
matplotlib = "*"
owslib = "*"
gdal = "*"
geopandas = "*"
rasterio = "*"
rasterstats = "*"
affine = "*"
ipykernel = "*"
42 changes: 42 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
@import url("https://netdna.bootstrapcdn.com/bootswatch/3.0.0/simplex/bootstrap.min.css");

.main-container { max-width: none; }
pre { color: inherit; background-color: inherit; }

code[class^="sourceCode"]::before {
content: attr(class);
display: block;
text-align: right;
font-size: 70%;
}

code[class^="sourceCode r"]::before { content: "R Source"; }
code[class^="sourceCode python"]::before { content: "Python Source"; }
code[class^="sourceCode bash"]::before { content: "Bash Source"; }

/* Only target inline code, not code inside pre blocks */
p code:not(.sourceCode),
li code:not(.sourceCode),
td code:not(.sourceCode) {
background-color: #f5f5f5;
color: #c7254e;
padding: 2px 4px;
border-radius: 3px;
}


.page-header-title {
font-size: 2rem; /* roughly equivalent to <font size="6"> */
}

.page-header-logo {
height: 50px;
vertical-align: middle;
}

/* Quarto only centers the image <p>/<div> inside a centered figure, not
the <figcaption> itself, so a resized image's caption is left-aligned
below it instead of centered under the image. */
.quarto-figure-center figcaption {
text-align: center;
}