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

CHLA RT Adjustment via lookup-table #58

Open
catsch opened this issue Jun 17, 2024 · 3 comments
Open

CHLA RT Adjustment via lookup-table #58

catsch opened this issue Jun 17, 2024 · 3 comments
Labels
admt-24 admt-24 Hobart action BGC DAC

Comments

@catsch
Copy link

catsch commented Jun 17, 2024

No description provided.

@jlovellcsiro
Copy link

CSIRO - we are ready to implement this when a lookup-table is available

@Argo-JMA
Copy link

JMA - Not yet.

@cgrdn
Copy link

cgrdn commented Oct 23, 2024

MEDS ready to implement as well, have tried it out with the beta file. Basic way I'm grabbing the appropriate slope (in python, assuming grabbing nearest defined slope is the appropriate method?):

import pandas as pd

def get_rt_slope(lat, lon):
    slope = pd.read_csv(resource_path('SLOPE_RT_2024.txt'), sep=' ')
    index = ((slope.lon - lon)**2 + (slope.lat - lat)**2).idxmin()
    
    return slope.loc[index].slope

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admt-24 admt-24 Hobart action BGC DAC
Projects
Status: No status
Development

No branches or pull requests

4 participants