-
Notifications
You must be signed in to change notification settings - Fork 0
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
Drift vs climate / interannual trends #9
Comments
I can't attend the hackathon today so just share my progress here.. I've been trying to compute annual-mean global averages at different vertical slices (i.e. surface, upper 100 m, the entire water column), but so far the kernel dies/restarts. |
I'd try increasing the memory, 46GB is quite small for analysing 0.1 deg outputs. You can request up to 196 or 240GB, depending which queue you're using. Also, I found reading in the files manually (not using the cookbook) was a bit faster. You can define a preprocessing function when doing this to limit the data that you read in from each file. E.g. maybe something like this?
Then you can read in the vertical cell grid size to average vertically and then use .groupby('time.year').mean(). Not sure how much more efficient this will be, but might speed it up? |
thanks @hrsdawson |
@hrsdawson do you have any tips on how to deal with the error like below?:
My updated notebook is here: |
I'm not sure about that error, sorry @hakaseh. Are you using ARE? I've often had trouble when trying to take a time mean in preprocessing step as xarray sometimes struggles to read and concatenate the resulting time coordinate. Especially because each of the individual 3D datasets you're preprocessing won't have the whole year of data to take the mean. However I see that you could read in dzt using that preprocessing step, so maybe that's not the problem.. You could try without and see if that helps? Or you may just need more memory for each of the workers. |
Can we learn from other model runs or the 1deg simulation how large the BGC drift might be compared to the climate change-driven trends over this cycle?
The text was updated successfully, but these errors were encountered: