Skip to content

Instantly share code, notes, and snippets.

@richpsharp
Created October 16, 2020 20:00
Show Gist options
  • Save richpsharp/35407516a5d008714239226d9e399e40 to your computer and use it in GitHub Desktop.
Save richpsharp/35407516a5d008714239226d9e399e40 to your computer and use it in GitHub Desktop.
Entry point for base pygeoprocessing script
"""These calculations are for the Critical Natural Capital paper."""
import pygeoprocessing
gdal.SetCacheMax(2**27)
logging.basicConfig(
level=logging.DEBUG,
format=(
'%(asctime)s (%(relativeCreated)d) %(levelname)s %(name)s'
' [%(funcName)s:%(lineno)d] %(message)s'))
LOGGER = logging.getLogger(__name__)
def main():
"""Entry point."""
LOGGER.debug('hello it worked')
if __name__ == '__main__':
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment