Skip to content
Snippets Groups Projects
Commit a6b62528 authored by Karim Ahmed's avatar Karim Ahmed
Browse files

cache get_strixel_parameters

parent 23db3088
No related branches found
No related tags found
1 merge request!919[Jungfrau][Correct] New A1256 JF Strixel
import numpy as np from functools import lru_cache
from pathlib import Path from pathlib import Path
import numpy as np
REGULAR_SHAPE = (512, 1024) REGULAR_SHAPE = (512, 1024)
DIR_PATH = package_directory = Path(__file__).resolve().parent DIR_PATH = package_directory = Path(__file__).resolve().parent
@lru_cache
def get_strixel_parameters(kind): def get_strixel_parameters(kind):
"""Returns a dictionary of strixel parameters stored in .npz file """Returns a dictionary of strixel parameters stored in .npz file
based on the given kind. based on the given kind.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment