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

Dealing with nans #52

Open
AndrewILWilliams opened this issue Dec 11, 2021 · 6 comments
Open

Dealing with nans #52

AndrewILWilliams opened this issue Dec 11, 2021 · 6 comments

Comments

@AndrewILWilliams
Copy link

Hi all!

Just looking around the code and am wondering how the package/the Bryan(2008) code deals with nans? Lots of CMIP data on pressure levels is nan because of orography, so just wondering if this is taken care of in the code or if it's required to remove the nans by hand before running it through?

Looking forward to using xcape!

Cheers!
Andrew

@AndrewILWilliams
Copy link
Author

Just looking now, I don't think missing values are accounted for. I'm not sure what the easiest way to do this would be... one could think of adding a line to the fortran call here, where it's told only to use levels with data? Perhaps there's a smarter way of doing this though.

@chiaral
Copy link
Collaborator

chiaral commented Dec 11, 2021 via email

@AndrewILWilliams
Copy link
Author

Cool! I'll take another look at the data and just check if anything funny is happening... some interpolation might be necessary

Also sorry for messaging on the weekend, AGU brings out the worst in all of us eh!

@chiaral
Copy link
Collaborator

chiaral commented Dec 11, 2021 via email

@AndrewILWilliams
Copy link
Author

One more (potentially dumb) question, but how do you find the model level data for CMIP6? I'm looking on the google cloud catalogue (https://storage.googleapis.com/cmip6/cmip6-zarr-consolidated-stores.csv) and I just see the output on pressure levels...maybe I'm missing something though.

@chiaral
Copy link
Collaborator

chiaral commented Dec 11, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants