mdcs-py
mdcs-py copied to clipboard
Build Overviews - Empty TIFS?
Having an additional issue with empty TIFS being created from the BO command, config is attached along with log file - runs without errors however the TIFs are quite small and nothing draws in ArcGIS Pro.
create_md_build_overview.txt
create_build_overviews_20220627T111706.txt
When I define and build overviews in ArcPro they come out fine:
@mapface , this can happen if for some reason the mosaic is not able to access the underlying imagery. Can you confirm if the primary rasters load fine in Pro and if they do can you try running BO through Pro once just to see if the issue persists or not. MDCS is just a wrapper around the inbuilt GP tools, so most probably if for some reason things don't work out in Pro they will not work out in MDCDs. Hope this helps.
I can confirm the primary rasters load fine in pro, and as I said in my original post running BO in Pro builds them successfully it's just using arcpy results in blank overviews. The primary rasters are MRF proxies with the data in AWS S3.
Running a simple python scripts like below creates the overviews no problem as well -
import arcpy
overview_dir = r"D:\imagerydata\Projects\Example\Overviews"
md = r"D:\imagerydata\Projects\Example\MD.gdb\MD"
print("creating TIF overviews.")
arcpy.management.DefineOverviews(md, overview_dir)
print("TIF Overviews defined.")
arcpy.management.BuildOverviews(md)
print("TIF Overviews created.")
@mapface , The above comment first says "just using arcpy results in blank overviews" and then you have attached a script (uses arcpy) through which overviews are getting generated fine? Are you running this script inside Pro or in outside Pro as a stand alone script.
Vijay
@mapface , Since we haven't heard back from you I am closing this issue for now however feel free to reopen it anytime you need further assistance.