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

Issue with storing the output of gdal_calc to data lake directly #469

Open
Apoorv2308 opened this issue Nov 29, 2023 · 0 comments
Open

Issue with storing the output of gdal_calc to data lake directly #469

Apoorv2308 opened this issue Nov 29, 2023 · 0 comments

Comments

@Apoorv2308
Copy link

Currently when I perform gdal_cal.py on smaller raster files the output gets saved in databricks working directory and doesn't copy it to data lake natively.
The output of gdal_calc is stored in Databricks working directory.

To Reproduce
Steps to reproduce the behavior:

  1. Run
    %sh
    gdal_calc.py -A 'file1.tif' -B 'file2.tif' --outfile='file3.tif' --calc'A+B'
  2. The output is saved to the databricks working directory.

Expected behavior
Milos mentioned that there is a UDF that can do the move from working directoy to data lake directly.

Screenshots
attached screenshot for reference.
Gdal_Calc data lake storage option

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