From 7241165d59af510d62bba312e48c7f513bc9dc05 Mon Sep 17 00:00:00 2001 From: Elsa Culler Date: Wed, 5 Jun 2024 12:36:26 -0600 Subject: [PATCH] Update appeears.py --- earthpy/appeears.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/earthpy/appeears.py b/earthpy/appeears.py index 17f685aa..f7316843 100644 --- a/earthpy/appeears.py +++ b/earthpy/appeears.py @@ -100,6 +100,8 @@ def __init__( self._task_id = task_id_file.readline() elif 'APPEEARS_TASKID' in os.environ: self._task_id = os.environ['APPEEARS_TASKID'] + with open(self.task_id_path, 'w') as task_id_file: + task_id_file.write(self._task_id) else: self._task_id = None