def METHOD_NAME(qtr):
    actual = qtr.iloc[0, 0].grain("OYDY")
    xp = actual.get_array_module()
    nan = xp.nan
    expected = xp.array(
        [
            [44, 621, 950, 1020, 1070, 1069, 1089, 1094, 1097, 1099, 1100, 1100],
            [42, 541, 1052, 1169, 1238, 1249, 1266, 1269, 1296, 1300, 1300, nan],
            [17, 530, 966, 1064, 1100, 1128, 1155, 1196, 1201, 1200, nan, nan],
            [10, 393, 935, 1062, 1126, 1209, 1243, 1286, 1298, nan, nan, nan],
            [13, 481, 1021, 1267, 1400, 1476, 1550, 1583, nan, nan, nan, nan],
            [2, 380, 788, 953, 1001, 1030, 1066, nan, nan, nan, nan, nan],
            [4, 777, 1063, 1307, 1362, 1411, nan, nan, nan, nan, nan, nan],
            [2, 472, 1617, 1818, 1820, nan, nan, nan, nan, nan, nan, nan],
            [3, 597, 1092, 1221, nan, nan, nan, nan, nan, nan, nan, nan],
            [4, 583, 1212, nan, nan, nan, nan, nan, nan, nan, nan, nan],
            [21, 422, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan],
            [13, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan, nan],
        ]
    )
    xp.testing.assert_array_equal(actual.values[0, 0, :, :], expected)