|
|
|
|
|
|
|
|
|
|
|
|
|
save_loc: '/glade/work/ksha/CREDIT_runs/wxformer_6h/' |
|
seed: 1000 |
|
|
|
data: |
|
|
|
variables: ['U','V','T','Q'] |
|
save_loc: '/glade/derecho/scratch/ksha/CREDIT_data/arXiv_cached/cache_arXiv_6h_*' |
|
|
|
|
|
surface_variables: ['SP','t2m','V500','U500','T500','Z500','Q500'] |
|
save_loc_surface: '/glade/derecho/scratch/ksha/CREDIT_data/arXiv_cached/cache_arXiv_6h_*' |
|
|
|
|
|
dynamic_forcing_variables: ['tsi'] |
|
save_loc_dynamic_forcing: '/glade/derecho/scratch/ksha/CREDIT_data/arXiv_cached/cache_arXiv_6h_*' |
|
|
|
|
|
static_variables: ['Z_GDS4_SFC','LSM'] |
|
save_loc_static: '/glade/derecho/scratch/ksha/CREDIT_data/static_norm_old.nc' |
|
|
|
|
|
mean_path: '/glade/derecho/scratch/ksha/CREDIT_data/mean_6h_1979_2018_16lev_0.25deg.nc' |
|
std_path: '/glade/derecho/scratch/ksha/CREDIT_data/std_residual_6h_1979_2018_16lev_0.25deg.nc' |
|
|
|
|
|
train_years: [1979, 2018] |
|
valid_years: [2018, 2019] |
|
|
|
|
|
scaler_type: 'std_cached' |
|
|
|
|
|
history_len: 1 |
|
valid_history_len: 1 |
|
|
|
forecast_len: 0 |
|
valid_forecast_len: 0 |
|
|
|
one_shot: True |
|
|
|
|
|
lead_time_periods: 6 |
|
|
|
|
|
skip_periods: null |
|
|
|
|
|
static_first: True |
|
|
|
trainer: |
|
type: standard |
|
|
|
mode: fsdp |
|
cpu_offload: False |
|
activation_checkpoint: True |
|
|
|
load_weights: True |
|
load_optimizer: True |
|
load_scaler: True |
|
load_sheduler: True |
|
|
|
skip_validation: False |
|
update_learning_rate: False |
|
|
|
save_backup_weights: True |
|
save_best_weights: True |
|
|
|
learning_rate: 1.0e-03 |
|
weight_decay: 0 |
|
|
|
train_batch_size: 1 |
|
valid_batch_size: 1 |
|
|
|
batches_per_epoch: 0 |
|
valid_batches_per_epoch: 0 |
|
stopping_patience: 999 |
|
|
|
start_epoch: 0 |
|
num_epoch: 6 |
|
reload_epoch: True |
|
epochs: &epochs 70 |
|
|
|
use_scheduler: True |
|
scheduler: {'scheduler_type': 'cosine-annealing', 'T_max': *epochs, 'last_epoch': -1} |
|
|
|
|
|
amp: False |
|
|
|
|
|
grad_accum_every: 1 |
|
|
|
grad_max_norm: 1.0 |
|
|
|
|
|
thread_workers: 4 |
|
valid_thread_workers: 0 |
|
|
|
model: |
|
|
|
type: "crossformer" |
|
frames: 1 |
|
image_height: 640 |
|
image_width: 1280 |
|
levels: 16 |
|
channels: 4 |
|
surface_channels: 7 |
|
input_only_channels: 3 |
|
output_only_channels: 0 |
|
|
|
patch_width: 1 |
|
patch_height: 1 |
|
frame_patch_size: 1 |
|
|
|
dim: [128, 256, 512, 1024] |
|
depth: [2, 2, 8, 2] |
|
global_window_size: [10, 5, 2, 1] |
|
local_window_size: 10 |
|
cross_embed_kernel_sizes: |
|
- [4, 8, 16, 32] |
|
- [2, 4] |
|
- [2, 4] |
|
- [2, 4] |
|
cross_embed_strides: [2, 2, 2, 2] |
|
attn_dropout: 0. |
|
ff_dropout: 0. |
|
|
|
|
|
pad_lon: 80 |
|
pad_lat: 80 |
|
|
|
loss: |
|
|
|
training_loss: "mse" |
|
|
|
|
|
use_power_loss: False |
|
use_spectral_loss: False |
|
|
|
|
|
use_latitude_weights: True |
|
latitude_weights: "/glade/u/home/wchapman/MLWPS/DataLoader/LSM_static_variables_ERA5_zhght.nc" |
|
|
|
|
|
use_variable_weights: False |
|
|
|
predict: |
|
forecasts: |
|
type: "custom" |
|
start_year: 2020 |
|
start_month: 1 |
|
start_day: 1 |
|
start_hours: [0, 12] |
|
duration: 30 |
|
|
|
|
|
days: 2 |
|
|
|
save_forecast: '/glade/derecho/scratch/ksha/CREDIT/wxformer_6h/' |
|
save_vars: ['SP','t2m','V500','U500','T500','Z500','Q500'] |
|
|
|
|
|
use_laplace_filter: False |
|
|
|
|
|
|
|
|
|
pbs: |
|
conda: "/glade/work/ksha/miniconda3/envs/credit" |
|
project: "NAML0001" |
|
job_name: "wxformer_6h" |
|
walltime: "12:00:00" |
|
nodes: 8 |
|
ncpus: 64 |
|
ngpus: 4 |
|
mem: '480GB' |
|
queue: 'main' |
|
|