[MITgcm-support] FW: conversion from local tile index to global new I/O format index

Chris Hill cnh at mit.edu
Mon Mar 29 11:21:28 EST 2004


For the record - hope its right! 

> -----Original Message-----
> From: Chris Hill [mailto:cnh at mit.edu] 
> Sent: Monday, March 29, 2004 11:09 AM
> To: 'menemenlis at jpl.nasa.gov'; 'Andrew Eichmann'
> Cc: 'Ichiro Fukumori'
> Subject: RE: conversion from local tile index to global new 
> I/O format index
> 
> Hi All,
> 
> >          i_global_io_index = exch_tx_globallo(W2_myTileList(bi))+i-1
> >          j_global_io_index = exch_ty_globallo(W2_myTileList(bi))+j-1
> 
>  **note** bi used twice above is intentional i.e. the tile 
> list is one-dimensional for the cube.
> 
> Also see 
> 
>  6.17 exch2: Extended Cubed Sphere Topology  in the manual  
> http://mitgcm.org/sealion/online_documents/node240.html
> 
> 
> 
> Chris
> 
> > -----Original Message-----
> > From: Dimitris Menemenlis [mailto:menemenlis at jpl.nasa.gov]
> > Sent: Sunday, March 28, 2004 1:39 PM
> > To: Andrew Eichmann; Christopher N. Hill
> > Cc: Ichiro Fukumori
> > Subject: conversion from local tile index to global new I/O format 
> > index
> > 
> > Andy or Chris, for Kalman filter development, could you please send 
> > Ichiro a few lines of code that convert the local tile index to the 
> > new global I/O index, something like:
> > 
> >      do bj=1,nSy
> >       do bi=1,nSx
> >        do j=1,sNy
> >         do i=1,sNx
> >          i_global_io_index = ??????????
> >          j_global_io_index = ??????????
> >         enddo
> >        enddo
> >       enddo
> >      enddo
> > 
> > I tried to figure it out from W2_EXCH2_TOPOLOGY.h, but it's 
> beyond my 
> > feeble mental capacities.
> > 
> > Cheers, D.
> > 
> > --
> > Dimitris Menemenlis <menemenlis at jpl.nasa.gov> Jet Propulsion Lab, 
> > California Insitute of Technology MS 300-323, 4800 Oak Grove Dr, 
> > Pasadena CA 91109-8099
> > tel: 818-354-1656;  fax: 818-393-6720
> > 
> 




More information about the MITgcm-support mailing list