Skip to content

create dir on gee#835

Open
pawangramvaani wants to merge 2 commits intodevfrom
bugfix/create_gee_dir
Open

create dir on gee#835
pawangramvaani wants to merge 2 commits intodevfrom
bugfix/create_gee_dir

Conversation

@pawangramvaani
Copy link
Copy Markdown
Collaborator

Initially the code is trying to create nested directory in one go on gee but gee don't allow it. so, now it will create one by one directory.

Comment thread utilities/gee_utils.py Outdated
full_path = gee_project_path + folder_path
parts = full_path.split("/")
for i in range(1, len(parts) + 1):
sub_path = "/".join(parts[:i])
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How is it handling the initial part of the path, i.e., "projects/ee-corestackdev/assets/"?

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got your point, base should not be touched/or only try to create state, district and tehsil name directory.
Accordingly code tweaked.

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

Successfully merging this pull request may close these issues.

2 participants