The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Convert (strange) ascii-grid into xyz sheet

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Booby Posted - 10/17/2006 : 1:17:52 PM
Origin Version: 7.5
Operating System: WinXP

To all the origin experts in the world,

I guess my problem has been solved manyfold, but I just couldn't find
it in the FAQ or search function.

I need to convert a gridded Ascii z data stream into an xyz worksheet by extracting x and y starting points, end points and step sizes.

Problem: Instead of the start values the ascii file states the center
values.

Can I find such an import routine somewhere in the depths of the forum?

Thanks in advance for answers.

/Manfred Beckers
1   L A T E S T    R E P L I E S    (Newest First)
zachary_origin Posted - 10/18/2006 : 10:29:01 PM
Hi Manfred Beckers,

I not sure if I understood your problem clearly. Did you mean: instead of starting points, you can only get center point? Assuming for x, the center point is Xc, end point is Xe, and starting point is Xs, then they have the relation of Xc=(Xe+Xs)/2 so Xs=2*Xc-Xe. This is a simple calculation. is there any difficulty for these? If you are not familiar with Origin C, do not hesitate to paste a piece of data here or directly send the data file to our technical support mailbox ( tech@originlab.com ) and we will write the code for you.


Zachary
OriginLab Technical Services.


Edited by - zachary_origin on 10/18/2006 11:06:04 PM

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000