Earth2Studio is now OSS!

earth2studio.models.auto.Package#

class earth2studio.models.auto.Package(root, cache_dir=None)[source]#

A generic file system abstraction

Note

This is a slight variation of the Modulus Package… figured upstream was too much of a pain right now.

Parameters:
  • root (str) – Root directory for file system

  • cache_dir (Optional[str], optional) – Cache directory, if remote path files will be downloaded here. If none is provided then the path set in LOCAL_CACHE enviroment variable will be used. If that is empty the path “~/.cache/earth2studio” is used, by default None