| |
| model: |
| start_epoch: 0 |
| max_epoch: 100 |
| lr: 1E-3 |
| num_blocks: 8 |
| patch_size: [8, 8] |
| patience: 50 |
| checkpoint_dir: "./data/checkpoints" |
|
|
| |
| datapipe: |
| name: "ERA5" |
| task: "weather_forecasting" |
|
|
| |
| dataset: |
| type: "hdf5" |
| data_dir: './data/' |
| |
| train_time: [1951, 1952] |
| val_time: [1953] |
| test_time: [1954] |
| img_size: [721, 1440] |
| verbose: true |
| cache: false |
| |
|
|
| channels: ['10m_u_component_of_wind', '10m_v_component_of_wind', '2m_temperature', 'surface_pressure', |
| 'mean_sea_level_pressure', 'total_column_water_vapour', |
| 'u_component_of_wind_1000', |
| 'v_component_of_wind_1000', |
|
|
| 'temperature_850', |
| 'u_component_of_wind_850', |
| 'v_component_of_wind_850', |
| 'geopotential_850', |
| 'relative_humidity_850', |
|
|
| 'temperature_500', |
| 'u_component_of_wind_500', |
| 'v_component_of_wind_500', |
| 'geopotential_500', |
| 'relative_humidity_500', |
| |
| 'geopotential_50', |
| ] |
|
|
| variables: |
| - "u10" |
| - "v10" |
| - "t2m" |
| - "msl" |
| - "z500" |
| - "t850" |
| |
| |
| time_range: ["2000-01-01", "2020-12-31"] |
| time_steps: 1 |
| time_res: 6 |
| |
| |
| spatial_resolution: [0.25, 0.25] |
| |
| |
| num_samples: -1 |
| shuffle: true |
| random_seed: 42 |
| |
| |
| extra: |
| levels: [500, 850, 1000] |
| lat_range: [-90, 90] |
| lon_range: [0, 360] |
| |
| |
| transforms: |
| - type: "Normalize" |
| params: |
| mean: [0.0, 0.0, 288.0, 101325.0, 50000.0, 270.0] |
| std: [5.0, 5.0, 15.0, 1000.0, 5000.0, 10.0] |
| keys: ["input", "target"] |
| |
| - type: "ToTensor" |
| params: |
| keys: null |
| |
| |
|
|
|
|
| |
| dataloader: |
| mask_dtype: "float32" |
| batch_size: 4 |
| num_workers: 1 |
| pin_memory: true |
| drop_last: true |
| shuffle: false |
| prefetch_factor: 2 |
| persistent_workers: true |
| |
| |
| distributed: |
| enabled: true |
| sampler: "DistributedSampler" |
| rank: 0 |
| world_size: 4 |
| shuffle: true |
| seed: 42 |
| drop_last: true |
|
|
|
|