[MITgcm-devel] changes in compact2map.m matlab script
Jean-Michel Campin
jmc at ocean.mit.edu
Sun Apr 15 19:20:08 EDT 2012
Hi Martin,
I made some substantial changes in the 2nd part of this script:
utils/matlab/cs_grid/latloncap/compact2map.m
bacause I was not able to solve the following problem:
When I put NaN on the continent in my input field, the contrast
between NaN and zero appears on the 4 copy of the polar face,
but the real field only appears on the 1rst. I was using
simple imagesc and I have attached the 2 figures (obtained
with original and modified compact2map.m).
I also made it more general (with the 3 face dimension as an
optional & additional argument) which could be useful in some cases,
+ added some comments.
But if you find that is was better before (and can see a better fix
to my problem above), we could revert to your method.
Cheers,
Jean-Michel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: original.ps
Type: application/postscript
Size: 33483 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-devel/attachments/20120415/483fcdd0/attachment-0002.ps>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: modified.ps
Type: application/postscript
Size: 39980 bytes
Desc: not available
URL: <http://mitgcm.org/pipermail/mitgcm-devel/attachments/20120415/483fcdd0/attachment-0003.ps>
More information about the MITgcm-devel
mailing list