Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import Folder Structure and Files #20

Open
RMitchell87 opened this issue Mar 4, 2024 · 1 comment
Open

Import Folder Structure and Files #20

RMitchell87 opened this issue Mar 4, 2024 · 1 comment

Comments

@RMitchell87
Copy link

Hi - I am not sure if this is the correct forum / location for this query so please let me know if I should be asking for help elsewhere.

As part of one of my projects we are importing thousands of rainfall files from our server into InfoWorks ICM. The folder structure and files are all saved within our server, as they have been created via other software. It takes lots of hours to create these folders, and import the files, manually within ICM. I was wondering if there was a Ruby script which could be written to enable a folder structure and file import. The files themselves will be rainfall (.red). Does anyone have examples of this being done? I have looked through the existing scripts but cant seem to find this particular example. I have no background in Ruby scripting, so I suppose I don't know what I'm looking for in the first place. However, it looks like Ruby might be the only way this could be achieved...

Any help would be appreciated.

@dickinsonre
Copy link
Contributor

I have examples, where I read a folder and import DBF or CSV files to the grid. You are reading a .redf file and what to import to a rainfall event? This can be done in Ruby Exchange.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants