DHI / DHI/mikecore-python

Modify dfs2 items not working

Open
#38 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Python
Stars
5
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Hi.

I have a bunch of files with wrong item type (I did not make them). I need to re-write the eumUnit and eumItem but re-writing the files is not an option since each file is +100GB.

I am currently using DataUtility which takes like a second but I need to click in each item of each file (it is 4 items and 50 files, so lots of clicks).

I tried this, but does not work. File date is updated, but the items remain unchanged.

https://github.com/DHI/mikecore-python/blob/bdccb538c21dc34b929686fce32a243f2b0b480c/tests/examples_dfs2.py#L47-L58

is there any suggestion?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.