-
Notifications
You must be signed in to change notification settings - Fork 11
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
Suggestion: correct coordinates after curl/norm #34
Comments
Hi Simon, |
Hi Aurelien, I switched off chunking along vertical coordinate and passed an explicit loop. It is possible to fill back a 3D-array with 'dict' and the .values attribute:
with the output:
|
Hi all, The following code tests the implementation:
|
An update on the previous fix proposal is found at: ce67ffd The chunks that needs to be provided need now to be consistent with final names, e.g.:
should now be:
|
Hello,
Here is my example: I am reading a u,v field, respectively on U-grid and V-grid but also with respective vertical coordinates: depthu and depthv. I want to compute curl, which will be centered on f-grid. I point out that the issue is similar with vector norm (centered on T-grid)
Here is the output:
Original coordinates of the u,v components are broadcast through the operation (here, curl) and the result is a 4-coordinate variable.
It can be very consequent in memory and writing operations, because it creates a 4-D variable which is N times bigger than the expected 3-D variable, with N as the vertical size.
Best regards,
Simon
The text was updated successfully, but these errors were encountered: