Skip to content

Bug / Typo in readme [python3 download_data.sh] #41

@ep150de

Description

@ep150de

The command python3 download_data.sh will return error response.

syntax bug, should be .py, or should be ./download_data.sh

and needs command run before to make it executable: chmod +x download_data.sh

To download the Surya model and a sample dataset for downstream tasks, please follow these steps:

# Step 1: Run pytest to download the model and verify dependencies
python -m pytest -s -o log_cli=true tests/test_surya.py  

# Step 2: Navigate to the downstream examples
cd downstream_examples/

# Step 3: Download the sample dataset
python download_data.py
1. Solar Flare Forecasting
Predict M-class and X-class solar flares up to 24 hours in advance.

cd downstream_examples/solar_flare_forcasting
python3 download_data.sh
torchrun --nnodes=1 --nproc_per_node=1 --standalone finetune.py
2. Active Region Segmentation
Segment solar active regions and polarity inversion lines from magnetograms.

cd downstream_examples/ar_segmentation  
python3 download_data.sh
torchrun --nnodes=1 --nproc_per_node=1 --standalone finetune.py
3. Solar Wind Forecasting
Predict solar wind speed at L1 point with 4-day lead time.

cd downstream_examples/solar_wind_forcasting
python3 download_data.sh
torchrun --nnodes=1 --nproc_per_node=1 --standalone finetune.py
4. EUV Spectra Modeling
Model extreme ultraviolet irradiance across 1343 spectral bands (5-35 nm).

cd downstream_examples/euv_spectra_prediction
python3 download_data.sh
torchrun --nnodes=1 --nproc_per_node=1 --standalone finetune.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions