def rungtd1d(time: datetime,<EOL>altkm: np.ndarray,<EOL>glat: float, glon: float, *,<EOL>f107a: float = None, f107: float = None, Ap: int = None) -> xarray.Dataset:
time = todatetime(time)<EOL>if f107a and f107a and Ap:<EOL><INDENT>pass<EOL><DEDENT>else:<EOL><INDENT>f107Ap = gi.getApF107(time, smoothdays=<NUM_LIT>)<EOL>f107a = f107Ap['<STR_LIT>'].item()<EOL>f107 = f107Ap['<STR_LIT>'].item()<EOL>Ap = f107Ap['<STR_LIT>'].item()<EOL>
This is the "atomic" function looped by other functions