[MITgcm-support] problems with write initial files to binary format ?

Yuan Lian lian at ashimaresearch.com
Tue Nov 26 15:42:22 EST 2013


Hi,

I am not familiar with the ocean simulations but I think you can put any 
values except NaNs to the inland zones. The mask should zero out the 
temperature in the inland zones. Hope this helps.

Yuan


On 11/26/13, 3:57 AM, ??? wrote:
>    from :<allenson3  ,  oceanlizy at 163.com>
>      subject:   problems with write initial files to binary format ?
>
>
> I prepare my own input data ,  I make them in the matlab format  ,such 
>  as , initial temperature files : "temp.mat", but in my study regions 
>  , there is no data in the inland zone , so there are many " nan" in 
> my "temp.mat" files  . when I write these ".mat" files into ".bin " 
> files  ,I learned from that ,  there must not be any "nan " in the 
> binary files  , so  I want to know ,how I should treat these "nan" 
>  when write into binary files .  I don't know if  I can set the "nan" 
> in the .mat files  to be  some  definite value , I know the open 
> boundayr velocity files, I can set the "nan" to be zero ,then  write 
> all the value into binary file . but ,the temperature file ,salt file 
> , how to deal with the "nan"  ,and write into  binary files  ?
> someone can help me ?
> with many thanks !!
>
>
>
>
> _______________________________________________
> MITgcm-support mailing list
> MITgcm-support at mitgcm.org
> http://mitgcm.org/mailman/listinfo/mitgcm-support

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mitgcm.org/pipermail/mitgcm-support/attachments/20131126/d50fccd7/attachment.htm>


More information about the MITgcm-support mailing list