Martin Diehl

Results 49 comments of Martin Diehl

There is already an HDF5 writer/reader which looks promising: https://github.com/geospace-code/h5fortran. I uses the Fortran bindings of the C library. I think it is reasonable to keep HDF5 support out of...

I have thought a little bit about a possible contribution from my side, and I propose to add general path related functionality. Since the other language I am frequently using...

@urbanjost Nice code, thanks for the hint.

I have a first prototype of a library that has functions from pythons `os` and `os.path`: https://github.com/MarDiehl/stdlib_os Pure Fortran where possible, but most file system related operations rely on C...

Please find the answers to the questions below: > The goal is to have the file system operations working on Windows also eventually, correct? Yes, it would be nice if...

Thanks for all the feedback. Actually, before opening a PR I probably add a few more functions and certainly do some testing. I also have three direct questions: 1. Is...

> Hi everyone, I volunteer to contribute the Windows side of things - while I usually avoid Windows-specific stuff, I do use that platform all the time, as well as...

As pointed out by @aradi, the python naming conventions are not very 'fortranig'. I therefore suggest the following names: os -- ``` python Fortran chdir change_directory getcwd get_current_working_directory mkdir make_directory...

> Of course it was NOT in f_c_string. It was not even in the rename routine or its brethren. It was in ismount_c() which is called slightly later in the...

I think `exists` is sufficient. It can be put in a loop if multiple files are checked.