Closed paigem closed 1 year ago
Great chat with @dhruvbalwada today! We discussed a few things:
Regular_with_land_area_weighted
filter to some test ocean CM2.6 data (did not try using Dask cluster yet)GCM-filters
MOM5T
and MOM5U
) appear to only work for fixed length scale filtering (see list of all grid types in GCM-filters
)Regular_with_land_area_weighted
Laplacian for fixed factor filtering of MOM fieldsn_steps
), and the precision of the data (float32 vs. float64)
Question for @jbusecke: For the CM2.6 ocean data, there is a separate zarr store that has the ocean grid variables. Is there a similar dataset that has atmospheric grid variables?
Question for @jbusecke: For the CM2.6 ocean data, there is a separate zarr store that has the ocean grid variables. Is there a similar dataset that has atmospheric grid variables?
Good question. Short answer: I did not find anything like that in the original repository. What information would you need exactly? Cell area?
Also great progress! This looks awesome. I personally do not understand that much about the intricacies of filters. It might be worth having some sort of synchronous meeting about it?
Good question. Short answer: I did not find anything like that in the original repository. What information would you need exactly? Cell area?
Also a good question. I guess we will need to look at exactly which variables we will need to filter, but if we do want to filter atmospheric fields then yes, we will likely need cell area and potentially other grid variables (e.g. cell width) as well.
But, thinking about this more, I wonder how we plan to handle the different ocean and atmosphere grids (as we discussed in the Miro brainstorming session). The atmospheric variables are already on the coarser atmosphere grid, so would we interpolate first to the high-res ocean grid and then filter as for the ocean fields? Or would we filter the atmospheric fields directly. In the first case, we wouldn't need the atmosphere grid info (at least for the filtering stage - we would need grid info for the interpolation to the ocean grid).
I personally do not understand that much about the intricacies of filters. It might be worth having some sort of synchronous meeting about it?
I agree - it would probably be worthwhile to have a meeting about filtering at some point! I personally find that most of my questions will arise as I code, so maybe we can make it a hacking/discussion session. 🙂
Also @dhruvbalwada - I just noticed a new PR in GCM-filters
that addresses the units/dimensionality issue that we were confused about: https://github.com/ocean-eddy-cpt/gcm-filters/pull/146. The PR will clarify whether dx_min
should be 1 (non dimensional unit) or a physical length scale.
But, thinking about this more, I wonder how we plan to handle the different ocean and atmosphere grids (as we discussed in the Miro brainstorming session). The atmospheric variables are already on the coarser atmosphere grid, so would we interpolate first to the high-res ocean grid and then filter as for the ocean fields? Or would we filter the atmospheric fields directly. In the first case, we wouldn't need the atmosphere grid info (at least for the filtering stage - we would need grid info for the interpolation to the ocean grid).
Uh this is another great question. I would tend to first interpolate, then filter, just to avoid any ambiguity when working with filter details on different grids. If we interpolate first, we know that the filter is doing exactly the same thing on both the ocean and atmospheric fields. Curious what @rabernat thinks?
@jbusecke and I made some progress on this today! 🎉 You can check out the notebook I just added via PR #22.
A few take-aways from today's session where we used the MOM5T
Laplacian implemented in GCM-filters
to filter a single time slice of MOM5 sensible heat data:
GCM-filters
to discuss ways to get around this.Also, in parallel, Julius was working on the interpolation code to interpolate atmospheric data onto the ocean grid, and appeared to be successful with that too! Productive day! 😄 💪
Closing since we are not using gcm-filters and have a working workflow already (see notebook in #32 )
This issue is to track any progress made on applying
GCM-filters
to CM2.6 data.Pertinent information:
MOM5T
Laplacian for T-grid variables andMOM5U
for U-grid variablesHow to access CM2.6 data (more info at #6):
Tasks:
GCM-filters
to (at least a subset of) CM2.6 data?@dhruvbalwada and I will meet to kick this off tomorrow.