[MITgcm-devel] changes in compact2map.m matlab script

Martin Losch Martin.Losch at awi.de
Mon Apr 16 03:54:33 EDT 2012


Hi Jean-Michel,

I didn't look at this script in a very long time. I guess I wanted to have the polar face plotted only once, but i see your point than then there should be NaN everywhere on the other 3 copies of the polar face. I am fine with your version.

Martin

On Apr 16, 2012, at 1:20 AM, Jean-Michel Campin wrote:

> 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
> <original.ps><modified.ps>_______________________________________________
> MITgcm-devel mailing list
> MITgcm-devel at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-devel




More information about the MITgcm-devel mailing list