Skip to content

Commit

Permalink
add future annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
scottstanie committed Oct 31, 2023
1 parent a1878fe commit 19a4486
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 2 additions & 0 deletions eof/cli.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
"""
CLI tool for downloading Sentinel 1 EOF files
"""
from __future__ import annotations

import logging

import click
Expand Down
4 changes: 3 additions & 1 deletion eof/download.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
See parsers for Sentinel file naming description
"""
from __future__ import annotations

import glob
import itertools
import os
Expand All @@ -30,8 +32,8 @@
import requests
from dateutil.parser import parse

from .dataspace_client import DataspaceClient
from .asf_client import ASFClient
from .dataspace_client import DataspaceClient
from .log import logger
from .products import Sentinel, SentinelOrbit

Expand Down
5 changes: 4 additions & 1 deletion eof/parsing.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
"""Module for parsing the orbit state vectors (OSVs) from the .EOF file"""
from __future__ import annotations

from datetime import datetime, timezone
from xml.etree import ElementTree
from html.parser import HTMLParser
from xml.etree import ElementTree

from .log import logger


Expand Down
2 changes: 1 addition & 1 deletion eof/products.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
# https://github.com/scottstanie/apertools/blob/77e6330499adc01c3860f49ee6b3875c49532b76/apertools/parsers.py

"""Utilities for parsing file names of SAR products for relevant info."""
from __future__ import annotations

import re
from datetime import datetime


__all__ = ["Sentinel", "SentinelOrbit"]


Expand Down

0 comments on commit 19a4486

Please sign in to comment.