HydrologicEngineeringCenter / Vortex

data processing utilities
MIT License
27 stars 7 forks source link

Include batch import "write options" in importer.exe #56

Closed RandomPunter closed 2 years ago

RandomPunter commented 2 years ago

Hi @tombrauer, Being in Australia, all of my raster data is non-standard, from a Vortex point of view. It would seem that the batch import functionality offers a solution in that I could invoke the various write options for my data. Apart from not being great with scripting (although I'm sure I could unpuzzle it given sufficient time), my work PC is locked down tight and it is not possible to get Jython installed, and so this avenue is currently closed to me. Is there a possibility of including the full set of write options functionality in importer.exe?

tombrauer commented 2 years ago

Hi @RandomPunter - Have you tried running your data through importer.exe? We've tested on so many datasets over the years sometimes it is surprising what it gets right, even if the data is non-standard. If it doesn't bring it in, I'd be curious to see how far off it is.

RandomPunter commented 2 years ago

Thanks for the prompt reply. Yes, I have tested many different kinds of file name permutations on .asc and .tif. Generally what happens is that the importer does not recognise a common variable (in my case, "precip"), and so each file is imported separately.

image

image

image

tombrauer commented 2 years ago

This actually looks correct. Each tif file translates to a gridded record within the DSS file. To make HEC-HMS happy, you can batch rename the C Part in HEC-DSSVue by selecting all of the files, right-click, rename. You might also try the v0.10.27-rc.2 build I just posted which should auto-extract the DSS C Part from the file name.

tombrauer commented 2 years ago

Marking as closed.