You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 18, 2023. It is now read-only.
Switch config file format to YAML. Primary reason for change is that YAML can automatically parse the data types in the config files. This saves me a lot of coding, is more flexible since I don't have to update a parser, and is probably gives the user more flexibility in the long term.
Target release v0.5.0 since that one doesn't work with existing config files anyway. Why update your config files for v0.5.0 only to also port to YAML in the future?
Example:
metadata:
version: "0.5.0"dataset:
# Text file containing dates and imagesinput_file: "/home/ceholden/Documents/yatsm/examples/p022r049_input.csv"# Input date formatdate_format: "%Y%j"# Output locationoutput: "/home/ceholden/Documents/landsat_stack/p022r049/images/YATSM"# Output file prefix (e.g., [prefix]_[line].npz)output_prefix: "yatsm_r"# Total number of bandsn_bands: 8# Mask band (e.g., Fmask)mask_band: 8# List of integer values to mask within the mask bandmask_values: [2, 3, 4, 255]# Valid range of non-mask band data# specify 1 range for all bands, or specify ranges for each bandvalid_range: [0, 10000]# Indices for multi-temporal cloud masking (indexed on 1)green_band: 2swir1_band: 5# Use BIP image reader? If not, use GDAL to read inuse_bip_reader: true# Directory location for caching dataset linescache_line_dir: "/home/ceholden/Documents/landsat_stack/p022r049/images/.yatsm_cache"
- Add min_values/max_values in place of valid_range
- CSV file has header
- Use Pandas to parse CSV (so add as requirement)
- Update examples
- Bump version
- Check for implementation of YATSM algorithm
- Put YATSM algo class in config
Switch config file format to YAML. Primary reason for change is that YAML can automatically parse the data types in the config files. This saves me a lot of coding, is more flexible since I don't have to update a parser, and is probably gives the user more flexibility in the long term.
Target release v0.5.0 since that one doesn't work with existing config files anyway. Why update your config files for v0.5.0 only to also port to YAML in the future?
Example:
produces:
Pretty great!
The text was updated successfully, but these errors were encountered: