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

Fixes temperature interpolation in landice tool conversion_exodus_init_to_mpasli_mesh.py #306

Commits on Mar 31, 2020

  1. Fix temperature interpolation in landice exodus to mpas conversion sc…

    …ript
    
    Fix several bugs in the temperature interpolation: 1) define albanyTemperaure
    array size using nCells instead of np.max(cellID_array), which was causing
    an error in some cases; 2) remove if-statement that separates temperature
    from velocities based on number of vertical levels/interfaces (no longer needed
    with current interpolation scheme, and was not working anyway); 3) stagger
    albany and mpas temperature layers for interpolation by subtracting 0.5 from
    MPAS_layers.
    trhille committed Mar 31, 2020
    Configuration menu
    Copy the full SHA
    b4ceef6 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2020

  1. Add comment explaining equally-spaced temperature layers

    Equally-spaced temperature layers works in general because
    MPAS temperature layers are always halfway between Albany temp
    layers, and we use linear interpolation. Add a comment to explain
    that to the user.
    trhille committed Apr 1, 2020
    Configuration menu
    Copy the full SHA
    ef0d2c4 View commit details
    Browse the repository at this point in the history