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

Chris Hill cnh at mit.edu
Mon Mar 29 15:54:53 EST 2004


Yes - XC and YC are the cell-center latitudes and longitudes.

Chris 

> -----Original Message-----
> From: Ichiro Fukumori [mailto:if at pacific.jpl.nasa.gov] 
> Sent: Monday, March 29, 2004 3:39 PM
> To: Chris Hill; menemenlis at jpl.nasa.gov; 'Andrew Eichmann'
> Subject: RE: conversion from local tile index to global new 
> I/O format index
> 
> Chris,
> 
> Are the longitude and latitude files XC.data and YC.data 
> instead of lonc and latc?
> 
> Thanks,
> Ichiro
> 
> PS.  Interestingly the formula below looks OK in reply mode.
> It originally appeared as
> i_global_io_index = exch_tx_globallo(W2_myTileList(bi))1
> j_global_io_index = exch_ty_globallo(W2_myTileList(bi))1
> 
> 
> At 11:08 AM 3/29/2004 -0500, Chris Hill wrote:
> >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
> > >
> 
> ===============================================================
> Ichiro Fukumori               | Jet Propulsion Laboratory
> e-mail: fukumori at jpl.nasa.gov | Mail Stop 300-323
> phone: +1 (818) 354-6965      | 4800 Oak Grove Drive
> fax: +1 (818) 393-6720        | Pasadena, California 91109, U.S.A.
> ===============================================================
> 




More information about the MITgcm-support mailing list