DatCon icon indicating copy to clipboard operation
DatCon copied to clipboard

Command line?

Open vmiceli opened this issue 7 years ago • 17 comments

Hello and thanks for the great software that DatCon is. If I wanted to automate file conversions with a script, can I use DatCon from command line?

Thanks!

Vincenzo

vmiceli avatar Jul 03 '18 10:07 vmiceli

+1 @BudWalkerJava Is this doable? I've been trying to figure out how to call the DatConvert functionality on a DatFile from command line or via bash script with no success

Taylormade11 avatar Jan 19 '19 19:01 Taylormade11

Not currently. But, you could easily modify the code to create a command line app.

BudWalkerJava avatar Jan 19 '19 19:01 BudWalkerJava

@BudWalkerJava I have a lot of work to do before this is an easy task for me lol but with work, I'll get there. Do you know where I might start in learning to tackle this type of problem? I'm having trouble understanding how you are getting the filename from 'file being used' and then actually executing the conversion. Ideally, I'd like to be able to iterate through a directory of .dat files by passing the directory as an argument from the command line.

Thank you all so much for your hard work in providing everyone with this great software. It's been a huge help and has saved so much time!

Taylormade11 avatar Jan 19 '19 22:01 Taylormade11

The currently committed github version (3.5.0) has a lot of java compile errors (many because of lines commented out in AxesAndSigs.java, for example). Is it possible to have a code version that compiles, or actually, the code version that actually produced the current DatCon? It's hard to make assumptions and just uncomment lines, and so on.

yvonperr avatar Jan 23 '19 18:01 yvonperr

How can we message Rowland Johnson? Is it possible?

yvonperr avatar Jan 23 '19 18:01 yvonperr

The currently committed github version (3.5.0) has a lot of java compile errors (many because of lines commented out in AxesAndSigs.java, for example). Is it possible to have a code version that compiles, or actually, the code version that actually produced the current DatCon? It's hard to make assumptions and just uncomment lines, and so on.

Try it now, I just updated the source.

BudWalkerJava avatar Jan 24 '19 14:01 BudWalkerJava

I'd also like to convert a larger amount of data from the command line. Has anyone changed the program in this respect?

jothanna avatar Jun 11 '19 13:06 jothanna

@jothanna,

I did some work with DatCon for my then company a few months ago. It works well for us, so I need to contribute my code back to the project.

If you can send me your preferred email address, I will send you an email explaining my modified jar file and source code, which will be attached

— Yvon Perreault

On Jun 11, 2019, at 9:35 AM, jothanna [email protected] wrote:

I'd also like to convert a larger amount of data from the command line. Has anyone changed the program in this respect?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/BudWalkerJava/DatCon/issues/2?email_source=notifications&email_token=AK674FU4YUUPJRLRIXWROULPZ6S2NA5CNFSM4FICZKXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXNEKZQ#issuecomment-500843878, or mute the thread https://github.com/notifications/unsubscribe-auth/AK674FQVIEXJLD4Q25PWK63PZ6S2NANCNFSM4FICZKXA.

yvonperr avatar Jun 11 '19 14:06 yvonperr

Unfortunately, icloud won’t let me include any jar file or zip file. Researching…

-Y-

On Jun 11, 2019, at 3:19 PM, jothanna [email protected] wrote:

@yvonperr https://github.com/yvonperr, thank you for your help. Here my email address: j.redelstein(at)gmx.de.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/BudWalkerJava/DatCon/issues/2?email_source=notifications&email_token=AK674FRZJVWA54H6RU4JIVTPZ73EHA5CNFSM4FICZKXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXOGZSA#issuecomment-500985032, or mute the thread https://github.com/notifications/unsubscribe-auth/AK674FTXPYEGR5QNF2BVS2DPZ73EHANCNFSM4FICZKXA.

yvonperr avatar Jun 12 '19 03:06 yvonperr

I agree... A command line option would be great, specially to be able to batch process files. Also an option for batch processing inside the gui could be helpful.

chkop avatar Jul 08 '19 09:07 chkop

Any progress on this front?

munsanje avatar Sep 11 '19 08:09 munsanje

@yvonperr are you still able to share your code?

munsanje avatar Sep 11 '19 09:09 munsanje

@yvonperr are you still able to share your code?

munsanje avatar Sep 11 '19 09:09 munsanje

Yes I can. Give me a few minutes...

Sent from the yPhone

On Sep 11, 2019, at 5:08 AM, Munsanje Mweene [email protected] wrote:

@yvonperr are you still able to share your code?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

yvonperr avatar Sep 11 '19 12:09 yvonperr

Munsanje,

Can you provide your email address at yvon.at.mac.com? I will share like I did with #jothanna.

On Sep 11, 2019, at 5:08 AM, Munsanje Mweene [email protected] wrote:

@yvonperr are you still able to share your code?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

yvonperr avatar Sep 11 '19 13:09 yvonperr

I'm hoping that this can be done with Python. I'm commenting more to follow the discussion but: I am using a DJI Inspire 1 for Search and Rescue (SAR) operations. I need to be able to batch the files, then process the csv's to strip multiple columns of data, then I can process it into a table that can be turned into a shapefile for use in our GIS. I know Python. I don't know Java.

TopHatTommy2 avatar Jan 28 '20 04:01 TopHatTommy2

Has anyone maybe tried implementing this into a asp.net mvc web application, and if one of you did, could you give me some tips to do the same?

nbeyne1998 avatar May 07 '20 19:05 nbeyne1998