Skip to content

Commit 5a1707c

Browse files
kacpnowakshmh40
andauthored
Enable FesomDataReader to have different source and target datasets (ecmwf#1046)
* Implement separate target and source files, adjust masking * Fix casual masking * Fix longitude conversion flag * Fix casual masking strategy --------- Co-authored-by: Seb Hickman <56727418+shmh40@users.noreply.github.com>
1 parent d3e13ac commit 5a1707c

File tree

5 files changed

+469
-140
lines changed

5 files changed

+469
-140
lines changed

config/ifs_fesom_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ae_local_num_heads: 16
99
start_date: 2000-10-10T00:00
1010
end_date: 2199-12-31T00:00
1111
start_date_val: 2200-01-01T00:00
12-
end_date_val: 2220-12-31T00:00
12+
end_date_val: 2209-12-31T00:00
1313

1414
num_epochs: 111
1515
samples_per_epoch: 64

config/streams/fesom/fesom.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
FESOM_NODE :
1111
type : fesom
1212
filenames : ['ocean_node']
13+
target_file: "/work/ab0995/a270088/Kacper/weathergenertor/AWICM3/ocean_elem"
1314
loss_weight : 1.
1415
source : null
1516
target : null

config/streams/fesom/fesom_elem.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
FESOM_ELEM :
1111
type : fesom
1212
filenames : ['ocean_elem']
13+
target_file: "/work/ab0995/a270088/Kacper/weathergenertor/AWICM3/ocean_node"
1314
loss_weight : 1.
1415
source : null
1516
target : null

0 commit comments

Comments
 (0)