Skip to content
This repository has been archived by the owner on Jun 18, 2023. It is now read-only.

Commit

Permalink
Remove specific references to image location data from examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ceholden committed Aug 9, 2017
1 parent 6427944 commit 0b07934
Show file tree
Hide file tree
Showing 9 changed files with 1,628 additions and 1,626 deletions.
6 changes: 4 additions & 2 deletions examples/envvar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ environment variables in configuration files.
## Example:

``` bash
# Config location inside "yatsm" respository
export CONFIG=$HOME/Documents/yatsm/examples/envvar
export ROOTDIR=$HOME/Documents/landsat_stack/p013r030/images
export PICKLES=$HOME/Documents/yatsm/yatsm/regression/pickles
# Cloned and unzipped "landsat_stack" example data
export ROOT=$HOME/Documents/yatsm/landsat_stack/p013r030/images
# Look at a pixel
yatsm -v pixel $CONFIG/envvar.yaml 25 25
```
4 changes: 2 additions & 2 deletions examples/envvar/envvar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ dataset:
# Input date format
date_format: "%Y%j"
# Output location
output: "$ROOTDIR/YATSM"
output: "$ROOT/YATSM"
# Output file prefix (e.g., [prefix]_[line].npz)
output_prefix: "yatsm_r"
# Total number of bands
Expand All @@ -31,7 +31,7 @@ dataset:
# Use BIP image reader? If not, use GDAL to read in
use_bip_reader: False
# Directory location for caching dataset lines
cache_line_dir: "$ROOTDIR/cache"
cache_line_dir: "$ROOT/cache"

# Parameters common to all timeseries analysis models within YATSM package
YATSM:
Expand Down
846 changes: 423 additions & 423 deletions examples/envvar/images.csv

Large diffs are not rendered by default.

846 changes: 423 additions & 423 deletions examples/p013r030/images.csv

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions examples/p013r030/p013r030.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ version: "0.6.0"

dataset:
# Text file containing dates and images
input_file: "/home/ceholden/Documents/yatsm/examples/p013r030/images.csv"
input_file: "examples/p013r030/images.csv"
# Input date format
date_format: "%Y%j"
# Output location
output: "/home/ceholden/Documents/landsat_stack/p013r030/subset/YATSM"
output: "landsat_stack/p013r030/subset/YATSM"
# Output file prefix (e.g., [prefix]_[line].npz)
output_prefix: "yatsm_r"
# Total number of bands
Expand All @@ -31,7 +31,7 @@ dataset:
# Use BIP image reader? If not, use GDAL to read in
use_bip_reader: False
# Directory location for caching dataset lines
cache_line_dir: "/home/ceholden/Documents/landsat_stack/p013r030/subset/cache"
cache_line_dir: "landsat_stack/p013r030/subset/cache"

# Parameters common to all timeseries analysis models within YATSM package
YATSM:
Expand Down
640 changes: 320 additions & 320 deletions examples/p022r049/images.csv

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions examples/p022r049/p022r049.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ version: "0.6.0"

dataset:
# Text file containing dates and images
input_file: "/home/ceholden/Documents/yatsm/examples/p022r049/images.csv"
input_file: "examples/p022r049/images.csv"
# Input date format
date_format: "%Y%j"
# Output location
output: "/home/ceholden/Documents/landsat_stack/p022r049/images/YATSM"
output: "landsat_stack/p022r049/images/YATSM"
# Output file prefix (e.g., [prefix]_[line].npz)
output_prefix: "yatsm_r"
# Total number of bands
Expand All @@ -32,7 +32,7 @@ dataset:
# Use BIP image reader? If not, use GDAL to read in
use_bip_reader: true
# Directory location for caching dataset lines
cache_line_dir: "/home/ceholden/Documents/landsat_stack/p022r049/images/.yatsm_cache"
cache_line_dir: "landsat_stack/p022r049/images/cache"

# Parameters common to all timeseries analysis models within YATSM package
YATSM:
Expand Down
894 changes: 447 additions & 447 deletions examples/p035r032/images.csv

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions examples/p035r032/p035r032.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ version: "0.6.0"

dataset:
# Text file containing dates and images
input_file: "/home/ceholden/Documents/yatsm/examples/p035r032/images.csv"
input_file: "examples/p035r032/images.csv"
# Input date format
date_format: "%Y%j"
# Output location
output: "/home/ceholden/Documents/landsat_stack/p035r032/images/YATSM"
output: "landsat_stack/p035r032/images/YATSM"
# Output file prefix (e.g., [prefix]_[line].npz)
output_prefix: "yatsm_r"
# Total number of bands
Expand All @@ -31,7 +31,7 @@ dataset:
# Use BIP image reader? If not, use GDAL to read in
use_bip_reader: False
# Directory location for caching dataset lines
cache_line_dir: "/home/ceholden/Documents/landsat_stack/p035r032/images/.yatsm_cache"
cache_line_dir: "landsat_stack/p035r032/images/cache"

# Parameters common to all timeseries analysis models within YATSM package
YATSM:
Expand Down

0 comments on commit 0b07934

Please sign in to comment.