Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Second cava_data call in vulnerability notebook maxs memory on HUB and crashes kernel #506

Open
elehmer opened this issue Feb 17, 2025 · 1 comment
Assignees
Labels
bug Something isn't working Release 1.2.2

Comments

@elehmer
Copy link
Contributor

elehmer commented Feb 17, 2025

Second cava_data call in vulnerability notebook (cell 11) uses up all the memory in the HUB instance and crashes the kernel. This is the code call:

data = cava_data(
    ## Set-up
    example_locs, # no subsetting for a single location from input list
    time_start_year=2020, 
    time_end_year=2050,
    downscaling_method="Dynamical",  # WRF data
    approach="Time",  
    wrf_bias_adjust=False, # return all WRF models
    
    ## Likely seaonal event specific arguments
    variable="Air Temperature at 2m", 
    metric_calc="max", # daily high temperature
    percentile=75, # likeliness percentile
    season="summer", # season
    units="degC", # change units
    
    ## Export
    export_method="calculate",  # export only calculated metric data
    file_format="NetCDF",
    batch_mode=True, # batch mode - optimized for multiple locations
)
@elehmer elehmer added the bug Something isn't working label Feb 17, 2025
@elehmer
Copy link
Contributor Author

elehmer commented Feb 17, 2025

May be related to #505

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Release 1.2.2
Projects
None yet
Development

No branches or pull requests

2 participants