Skip to content

Commit

Permalink
updated configs
Browse files Browse the repository at this point in the history
  • Loading branch information
annajungbluth committed Sep 26, 2024
1 parent bce8ac3 commit 367e493
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 22 deletions.
4 changes: 2 additions & 2 deletions config/example/datamodule.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ dataloader:

datasets_spec:
msg:
data_path: /path/to/your/data
data_path: /path/to/msg/data
goes:
data_path: /path/to/your/data
data_path: /path/to/goes/data
load_coords: True
load_cloudmask: True

Expand Down
4 changes: 2 additions & 2 deletions config/example/download.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
period:
start_date: '2020-01-01'
start_time: '00:00:00'
end_date: '2020-01-31'
end_date: '2020-12-31'
end_time: '23:59:00'

# CLOUD MASK
cloud_mask: True

# PATH FOR SAVING DATA
save_dir: /mnt/disks/data
save_dir: /path/to/save/data

defaults:
- _self_
Expand Down
6 changes: 2 additions & 4 deletions config/example/geoprocess.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
# PATH WITH RAW DATA
read_path: /mnt/disks
read_path: /path/to/donwloaded/data

# PATH FOR SAVING GEOPROCESSED DATA
save_path: /mnt/disks

split: 0 # TODO: remove before merging
save_path: /path/to/save/geoprocessed/data

defaults:
- _self_
6 changes: 3 additions & 3 deletions config/example/patch.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# PATH WITH GEOPROCESSED DATA
read_path: data
read_path: /path/to/geoprocessed/data

# PATH FOR SAVING PATCHES
save_path: data
save_path: /path/to/save/patches

# PATCH PARAMETERS
patch_size: 256
Expand All @@ -11,7 +11,7 @@ stride_size: 256
# NAN CUTOFF
nan_cutoff: 0.5

# FILETYPE TO SAVE [nc = netcdf, np = numpy]
# FILETYPE TO SAVE [nc = netcdf, tif = geotiff, np = numpy, npz = compressed numpy]
save_filetype: nc

defaults:
Expand Down
2 changes: 0 additions & 2 deletions config/example/satellite/aqua.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ geoprocess:
save_path: ${save_path}/aqua/geoprocessed
satellite: aqua

# preprocess:

patch:
_target_: rs_tools._src.preprocessing.prepatcher.prepatch
read_path: ${read_path}/aqua/geoprocessed
Expand Down
4 changes: 1 addition & 3 deletions config/example/satellite/goes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ geoprocess:
_target_: rs_tools._src.geoprocessing.goes.geoprocessor_goes16.geoprocess
read_path: ${read_path}/goes-data/2020/split_${split}
save_path: ${save_path}/goes-geoprocessed/goes
resolution: 3000.40
resolution: null # MSG resolution = 3000.40
region: null
resample_method: bilinear

# preprocess:

patch:
_target_: rs_tools._src.preprocessing.prepatcher.prepatch
read_path: ${read_path}/goes16/geoprocessed
Expand Down
6 changes: 2 additions & 4 deletions config/example/satellite/msg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ download:
start_time: ${period.start_time}
end_date: ${period.end_date}
end_time: ${period.end_time}
daily_window_t0: "9:00:00"
daily_window_t1: "17:00:00"
daily_window_t0: "00:00:00"
daily_window_t1: "23:59:00"
time_step: "1:00:00"

geoprocess:
Expand All @@ -17,8 +17,6 @@ geoprocess:
region: null
resample_method: bilinear

# preprocess:

patch:
_target_: rs_tools._src.preprocessing.prepatcher.prepatch
read_path: ${read_path}/msg/geoprocessed
Expand Down
2 changes: 0 additions & 2 deletions config/example/satellite/terra.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ geoprocess:
save_path: ${save_path}/terra/geoprocessed
satellite: terra

# preprocess:

patch:
_target_: rs_tools._src.preprocessing.prepatcher.prepatch
read_path: ${read_path}/terra/geoprocessed
Expand Down

0 comments on commit 367e493

Please sign in to comment.