class_docstr: Test basic functionality of AWIPS Tiled writer.
class_docstr_tok: ["Test","basic","functionality","of","AWIPS","Tiled","writer","."]
docstr: Test creating a lettered grid from data with differing projection..
docstr_tok: ["Test","creating","a","lettered","grid","from","data","with","differing","projection",".."]
code: def test_basic_lettered_tiles_diff_projection(self, tmp_path):
      """Test creating a lettered grid from data with differing projection.."""
      from satpy.writers.awips_tiled import AWIPSTiledWriter
  
      w = AWIPSTiledWriter(base_dir=str(tmp_path), compress=True)
      crs = CRS(
          "+proj=lcc +datum=WGS84 +ellps=WGS84 +lon_0=-95. +lat_0=45 +lat_1=45 +units=m +no_defs"
      )
      data = _get_test_data(shape=(2000, 1000), chunks=500)
      area_def = _get_test_area(
          shape=(2000, 1000),
          crs=crs,
          extents=(-1000000.0, -1500000.0, 1000000.0, 1500000.0),
      )
      ds = _get_test_lcc_data(data, area_def)
      # tile_count should be ignored since we specified lettered_grid
      w.save_datasets(
          [ds],
          sector_id="LCC",
          source_name="TESTS",
          tile_count=(3, 3),
          lettered_grid=True,
      )
      all_files = sorted(
          glob(os.path.join(str(tmp_path), "TESTS_AII*.nc"))
      )
      assert len(all_files) == 24
      assert "TC02" in all_files[0]  # the first tile should be TC02
      for fn in all_files:
          unmasked_ds = xr.open_dataset(fn, mask_and_scale=False)
          masked_ds = xr.open_dataset(fn, mask_and_scale=True)
          check_required_properties(unmasked_ds, masked_ds)
          assert masked_ds.attrs[
              "start_date_time"
          ] == START_TIME.strftime("%Y-%m-%dT%H:%M:%S")
  
imports: import logging
  import os
  import shutil
  from datetime import datetime, timedelta
  from glob import glob
  import dask
  import dask.array
  import numpy
  import pytest
  import xarray
  from pyproj import CRS
  from satpy.resample import update_resampled_coords
label_desc: Use image node_id 6 for calling the TestAWIPSTiledWriter obj's underlying member method code with example usage: obj.test_basic_lettered_tiles_diff_projection(tmp_path) without return types