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

MM JOSE Review - ASF GDAL VRT Approach #28

Open
mikemorris12 opened this issue Jan 24, 2025 · 0 comments
Open

MM JOSE Review - ASF GDAL VRT Approach #28

mikemorris12 opened this issue Jan 24, 2025 · 0 comments

Comments

@mikemorris12
Copy link

  • The “High level science goals” are not really science goals, they are better classified as “Techniques”.
  • I suggest using os.path.join instead of string addition when constructing file paths.
  • Under “Create VRT Objects”, when opening the .txt and .vrt files, I suggest defining the directory path as a variable instead of repeating it in each file path string.
  • A bit more guidance on how users should structure their own file paths would be useful. Using pre-defined variables would make it easier for users to define their own file paths and directories.
  • The function “extract_metadata_attrs” is inflexible, it only works if your data directory path has the same number of characters as the author’s. Instead of defining vv_fb = inputfname[108:], the function should use os.path.basename to isolate the file name from the directory path.
  • The order of the granule_id and product_id values in my version of vrt_full does not match the order of the values I can see on the webpage notebook. I’m not sure why, but this causes further issues down the line.
  • I suggest you debug this issue using a version of the data freshly downloaded from Zenodo, since it might have to do with how the files are sorted in the zip archive.
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

1 participant