[opendx-users] index varies fastest

2003-06-24 Thread Maxim Loginov
Hi all

from OpenDX User Guide (appendix B.2 Data Explorer Native Files, paragraph 
Syntax of the Native File Format, subparagraph Data section):
The Data Explorer file format is flexible enough to describe many existing 
data formats without having to reformat the data. It allows you to specify 
byte order, which index varies fastest, whether the data type is floating 
point or byte, and whether the file format is binary or ASCII. 

but I have not found how to specify _which_index_varies_fastest_. is it 
possible at all in Native File Format? or I have to use General Array 
Importer? last is not convinient, because my grid and field data in different 
files (actually I visualize Plot3D data and do not want to use converter)

best regards
Maxim
--
Loginov Maxim
Institute of Fluid Mechanics
Department of Mechanical Engineering
Dresden University of Technology
01062  Dresden, Germany
ph.: +49(0)351 463 34910
fax: +49(0)351 463 35246
email: [EMAIL PROTECTED]


Re: [opendx-users] index varies fastest

2003-06-24 Thread Chris Pelkie
http://opendx.npaci.edu/docs/html/pages/usrgu025.htm#HDRARRAYS

The 'trick' (and it is somewhat obscure) is revealed in Figure 11 on this URL.

Rearrange the delta clauses.

If Z varies fastest, you might write:
delta 1 0 0  # for X
delta 0 1 0 # for Y
delta 0 0 1 # for Z

But if X varies fastest, write:
delta 0 0 1 # for X
delta 0 1 0 # for Y
delta 1 0 0 # for Z



On Tuesday, Jun 24, 2003, at 04:45 America/New_York, Maxim Loginov wrote:

Hi all

from OpenDX User Guide (appendix B.2 Data Explorer Native Files, paragraph 
Syntax of the Native File Format, subparagraph Data section):
The Data Explorer file format is flexible enough to describe many existing 
data formats without having to reformat the data. It allows you to specify 
byte order, which index varies fastest, whether the data type is floating 
point or byte, and whether the file format is binary or ASCII. 

but I have not found how to specify _which_index_varies_fastest_. is it 
possible at all in Native File Format? or I have to use General Array 
Importer? last is not convinient, because my grid and field data in different 
files (actually I visualize Plot3D data and do not want to use converter)

best regards
Maxim
--
Loginov Maxim
Institute of Fluid Mechanics
Department of Mechanical Engineering
Dresden University of Technology
01062  Dresden, Germany
ph.: +49(0)351 463 34910
fax: +49(0)351 463 35246
email: [EMAIL PROTECTED]



___
Chris Pelkie
Scientific Visualization Producer
622 Rhodes Hall, Cornell Theory Center
Ithaca, NY 14853


[opendx-users] Politic Region

2003-06-24 Thread Marilyn Meneucci Ibañez

Hi User's


   I need construct a determinate region politic on
picture make with data of the temperature.


Ibañez, Marilyn Menecucci
INPE - Instituto Nacional de Pesquisas Espaciais




___
Yahoo! Mail
Mais espaço, mais segurança e gratuito: caixa postal de 6MB, antivírus, 
proteção contra spam.
http://br.mail.yahoo.com/


[opendx-users] ImportSpreadsheet rounds integers??

2003-06-24 Thread Joel Richardson

Hi,

I am trying to import a small table of genome coordinates
and am getting strange results from ImportSpreadsheet. 
Here's the file (tab-delimited):

group   species genechromosome  start   end
Spry2   mouse   Spry2   14  9692917496933478
Spry2   human   SPRY2   13  7490502774910002
Smad7   mouse   Smad7   18  7582490875853511
Smad7   human   SMAD7   18  4624623446277097

When I import it, the start and end coordinates have
changed a little. For example, the coordinates
for the first row have become 96929176 and 96933480,
respectively. The others have similar differences.
Looks like a rounding error of some kind.

I get the same results from both 4.2.0 on Solaris 8
and Win2000.

Is this a known bug? Is there a workaround? Thanks
for any help.

Cheers,
Joel


===
Joel Richardson, Ph.D.  [EMAIL PROTECTED]
The Jackson Laboratory  Phone:  (207) 288-6435
600 Main Street Fax:(207) 288-6132
Bar Harbor, Maine 04609 URL:www.informatics.jax.org
===


Re: [opendx-users] index varies fastest

2003-06-24 Thread Maxim Loginov
Hi Chris

there is little misunderstanding... from very begining:
I have plot3d grid file, stepsize of the the grid varies along every direcrion 
(irregular grid in OpenDX notion, but not scattered points, just every 
gridcell is improper parallelogram), gridpoints in it saved like (Fortran):
  write (nfile) (((x(i,j,k),i=1,npx),j=1,1),k=1,npz),
 +  (((y(i,j,k),i=1,npx),j=1,1),k=1,npz),
 +  (((z(i,j,k),i=1,npx),j=1,1),k=1,npz)
so that first index varies fast. now I want to read this grid into OpenDX 
using Native File Format. I have to specify order of indexes for proper 
reading this array into OpenDX with Native File Format. but how? in General 
Array Importer I can, but it is impossible there to read grid from one file 
and data from another (as it done in plot3d format). 

actually I do not understand how to use your advice: it is for regular grid, 
where stepsize is constant along the direction.

best
Maxim

 http://opendx.npaci.edu/docs/html/pages/usrgu025.htm#HDRARRAYS

 The 'trick' (and it is somewhat obscure) is revealed in Figure 11 on
 this URL.

 Rearrange the delta clauses.

 If Z varies fastest, you might write:
 delta 1 0 0  # for X
 delta 0 1 0 # for Y
 delta 0 0 1 # for Z

 But if X varies fastest, write:
 delta 0 0 1 # for X
 delta 0 1 0 # for Y
 delta 1 0 0 # for Z



 On Tuesday, Jun 24, 2003, at 04:45 America/New_York, Maxim Loginov

 wrote:
  Hi all
 
  from OpenDX User Guide (appendix B.2 Data Explorer Native Files,
  paragraph
  Syntax of the Native File Format, subparagraph Data section):
  The Data Explorer file format is flexible enough to describe many
  existing
  data formats without having to reformat the data. It allows you to
  specify
  byte order, which index varies fastest, whether the data type is
  floating
  point or byte, and whether the file format is binary or ASCII.
 
  but I have not found how to specify _which_index_varies_fastest_. is it
  possible at all in Native File Format? or I have to use General Array
  Importer? last is not convinient, because my grid and field data in
  different
  files (actually I visualize Plot3D data and do not want to use
  converter)
 
  best regards
  Maxim
  --
  Loginov Maxim
  Institute of Fluid Mechanics
  Department of Mechanical Engineering
  Dresden University of Technology
  01062  Dresden, Germany
  ph.: +49(0)351 463 34910
  fax: +49(0)351 463 35246
  email: [EMAIL PROTECTED]

 ___
 Chris Pelkie
 Scientific Visualization Producer
 622 Rhodes Hall, Cornell Theory Center
 Ithaca, NY 14853


Re: [opendx-users] Politic Region

2003-06-24 Thread David Thompson
If you have the political boundary data, we can help convert it to 
dx. Without the data, let us know which area it is--and maybe we can 
help find it.


David


Hi User's


   I need construct a determinate region politic on
picture make with data of the temperature.


Ibañez, Marilyn Menecucci
INPE - Instituto Nacional de Pesquisas Espaciais




___
Yahoo! Mail
Mais espaço, mais segurança e gratuito: caixa postal de 6MB, 
antivírus, proteção contra spam.

http://br.mail.yahoo.com/



--
.
David L. Thompson   Visualization and Imagery Solutions, Inc.
mailto:[EMAIL PROTECTED]5515 Skyway Drive, Missoula, MT 59804
Phone : (406)756-7472