code: def generate_nasa_l2_filename(prefix: str) -> str:
      """Generate a file name that follows MODIS 35 L2 convention in a temporary directory."""
      now = datetime.now()
      return f"{prefix}_L2.A{now:%Y%j.%H%M}.061.{now:%Y%j%H%M%S}.hdf"
  
imports: from __future__ import annotations
  from datetime import datetime, timedelta
  from typing import Optional
  import numpy
  import pytest
  from pyhdf.SD import SD, SDC
label_desc: Use image node_id 30 for calling a global function with example usage: generate_nasa_l2_filename(prefix) and returns: prefix, str, now, str, now, str