{
  "version": "xarts.coordinate-marks/1",
  "family": "coordinate-marks",
  "provenance": {
    "legacyId": "vector-field"
  },
  "document": {
    "textOverflow": "preserve",
    "header": {
      "title": "La loma se queda con el viento del ala nordeste: ahí no hay parque que poner",
      "subtitle": "Alto de Valmarza — velocidad media anual y rumbo dominante a 100 m, rejilla de 500 m"
    },
    "footer": {
      "source": "Modelo mesoescalar a 100 m, año completo, validado con dos torres de medida — emplazamiento y cifras ilustrativos",
      "notes": "Cada flecha es un punto de la rejilla de muestreo: el ángulo es el rumbo dominante (0° = norte, sentido horario, hacia donde sopla) y la longitud —y el color— la velocidad media. La escalera de arriba gradúa la longitud. Entre dos flechas no hay dato: hay rejilla.",
      "alt": "Treinta flechas en una rejilla de 6×5 sobre 2,5 × 2,0 km. En la fila sur todas apuntan al este-nordeste y son las más largas, con un máximo de 10,4 m/s en el centro. Hacia el nordeste se acortan y giran hacia el sudeste, hasta 3,6 m/s con rumbo 112° en el vértice superior derecho."
    },
    "spacing": {
      "horizontalPadding": 32,
      "topPadding": 24,
      "bottomPadding": 24,
      "minimumTextGap": 6
    }
  },
  "presentation": {
    "theme": "anlak",
    "dimensions": {
      "width": 1200,
      "height": 760
    },
    "locale": "es-ES",
    "fonts": "reference",
    "surface": "theme",
    "framePadding": 24
  },
  "output": {
    "filename": "vector-field",
    "embedSpec": true,
    "geometryDecimals": 2
  },
  "annotations": [],
  "operation": "vector-observations",
  "data": {
    "representation": "bearing-magnitude",
    "rows": [
      {
        "id": "1",
        "label": "Este (m): 0 · Norte (m): 2000",
        "x": 0,
        "y": 2000,
        "direction": 62,
        "magnitude": 8.4
      },
      {
        "id": "2",
        "label": "Este (m): 500 · Norte (m): 2000",
        "x": 500,
        "y": 2000,
        "direction": 66,
        "magnitude": 8.1
      },
      {
        "id": "3",
        "label": "Este (m): 1000 · Norte (m): 2000",
        "x": 1000,
        "y": 2000,
        "direction": 72,
        "magnitude": 7.2
      },
      {
        "id": "4",
        "label": "Este (m): 1500 · Norte (m): 2000",
        "x": 1500,
        "y": 2000,
        "direction": 88,
        "magnitude": 5.4
      },
      {
        "id": "5",
        "label": "Este (m): 2000 · Norte (m): 2000",
        "x": 2000,
        "y": 2000,
        "direction": 104,
        "magnitude": 4.1
      },
      {
        "id": "6",
        "label": "Este (m): 2500 · Norte (m): 2000",
        "x": 2500,
        "y": 2000,
        "direction": 112,
        "magnitude": 3.6
      },
      {
        "id": "7",
        "label": "Este (m): 0 · Norte (m): 1500",
        "x": 0,
        "y": 1500,
        "direction": 63,
        "magnitude": 8.8
      },
      {
        "id": "8",
        "label": "Este (m): 500 · Norte (m): 1500",
        "x": 500,
        "y": 1500,
        "direction": 65,
        "magnitude": 8.5
      },
      {
        "id": "9",
        "label": "Este (m): 1000 · Norte (m): 1500",
        "x": 1000,
        "y": 1500,
        "direction": 70,
        "magnitude": 7.6
      },
      {
        "id": "10",
        "label": "Este (m): 1500 · Norte (m): 1500",
        "x": 1500,
        "y": 1500,
        "direction": 84,
        "magnitude": 5.9
      },
      {
        "id": "11",
        "label": "Este (m): 2000 · Norte (m): 1500",
        "x": 2000,
        "y": 1500,
        "direction": 99,
        "magnitude": 4.6
      },
      {
        "id": "12",
        "label": "Este (m): 2500 · Norte (m): 1500",
        "x": 2500,
        "y": 1500,
        "direction": 108,
        "magnitude": 4
      },
      {
        "id": "13",
        "label": "Este (m): 0 · Norte (m): 1000",
        "x": 0,
        "y": 1000,
        "direction": 62,
        "magnitude": 9.1
      },
      {
        "id": "14",
        "label": "Este (m): 500 · Norte (m): 1000",
        "x": 500,
        "y": 1000,
        "direction": 64,
        "magnitude": 9
      },
      {
        "id": "15",
        "label": "Este (m): 1000 · Norte (m): 1000",
        "x": 1000,
        "y": 1000,
        "direction": 67,
        "magnitude": 8.4
      },
      {
        "id": "16",
        "label": "Este (m): 1500 · Norte (m): 1000",
        "x": 1500,
        "y": 1000,
        "direction": 76,
        "magnitude": 7
      },
      {
        "id": "17",
        "label": "Este (m): 2000 · Norte (m): 1000",
        "x": 2000,
        "y": 1000,
        "direction": 88,
        "magnitude": 5.8
      },
      {
        "id": "18",
        "label": "Este (m): 2500 · Norte (m): 1000",
        "x": 2500,
        "y": 1000,
        "direction": 95,
        "magnitude": 5.2
      },
      {
        "id": "19",
        "label": "Este (m): 0 · Norte (m): 500",
        "x": 0,
        "y": 500,
        "direction": 61,
        "magnitude": 9.4
      },
      {
        "id": "20",
        "label": "Este (m): 500 · Norte (m): 500",
        "x": 500,
        "y": 500,
        "direction": 62,
        "magnitude": 9.6
      },
      {
        "id": "21",
        "label": "Este (m): 1000 · Norte (m): 500",
        "x": 1000,
        "y": 500,
        "direction": 63,
        "magnitude": 9.5
      },
      {
        "id": "22",
        "label": "Este (m): 1500 · Norte (m): 500",
        "x": 1500,
        "y": 500,
        "direction": 66,
        "magnitude": 9
      },
      {
        "id": "23",
        "label": "Este (m): 2000 · Norte (m): 500",
        "x": 2000,
        "y": 500,
        "direction": 71,
        "magnitude": 8.3
      },
      {
        "id": "24",
        "label": "Este (m): 2500 · Norte (m): 500",
        "x": 2500,
        "y": 500,
        "direction": 75,
        "magnitude": 7.8
      },
      {
        "id": "25",
        "label": "Este (m): 0 · Norte (m): 0",
        "x": 0,
        "y": 0,
        "direction": 60,
        "magnitude": 9.6
      },
      {
        "id": "26",
        "label": "Este (m): 500 · Norte (m): 0",
        "x": 500,
        "y": 0,
        "direction": 60,
        "magnitude": 10.1
      },
      {
        "id": "27",
        "label": "Este (m): 1000 · Norte (m): 0",
        "x": 1000,
        "y": 0,
        "direction": 60,
        "magnitude": 10.4
      },
      {
        "id": "28",
        "label": "Este (m): 1500 · Norte (m): 0",
        "x": 1500,
        "y": 0,
        "direction": 61,
        "magnitude": 10.2
      },
      {
        "id": "29",
        "label": "Este (m): 2000 · Norte (m): 0",
        "x": 2000,
        "y": 0,
        "direction": 63,
        "magnitude": 9.7
      },
      {
        "id": "30",
        "label": "Este (m): 2500 · Norte (m): 0",
        "x": 2500,
        "y": 0,
        "direction": 65,
        "magnitude": 9.3
      }
    ]
  },
  "encoding": {
    "units": {
      "x": {
        "label": "Este (m)",
        "unit": "m"
      },
      "y": {
        "label": "Norte (m)",
        "unit": "m"
      },
      "u": {
        "label": "u",
        "unit": "m/s"
      },
      "v": {
        "label": "v",
        "unit": "m/s"
      },
      "magnitude": {
        "label": "Velocidad media",
        "unit": "m/s"
      },
      "direction": {
        "label": "Rumbo",
        "unit": "degrees"
      }
    },
    "direction": {
      "convention": "north-clockwise",
      "sense": "to",
      "components": "u-right-v-up",
      "screen": "isotropic-unit-direction"
    }
  },
  "calculation": {
    "grid": {
      "mode": "minimum-positive-gap",
      "regularTolerance": 0.02,
      "singleAxisStep": 1,
      "domainPaddingCells": 0.5
    },
    "divergence": {
      "operation": "none"
    },
    "length": {
      "mapping": "magnitude-proportional",
      "directionNormalization": "unit-only",
      "maximum": {
        "source": "data-maximum"
      }
    },
    "color": {
      "by": "magnitude",
      "ramp": [
        "#7a9aa7",
        "#5f8696",
        "#457285",
        "#296074",
        "#014d64"
      ]
    }
  },
  "profile": {
    "placement": {
      "mode": "measured",
      "maxWidth": 190,
      "maxLines": 5,
      "lineHeight": 1.35,
      "gap": 8,
      "edge": 10,
      "gridStep": 8,
      "guideWidth": 0.75,
      "guideColor": "textMuted"
    },
    "margin": {
      "top": 100,
      "right": 56,
      "bottom": 96,
      "left": 100
    },
    "axis": {
      "inkPadding": 0,
      "measurementNumbers": "proportional-nums",
      "maximumMarginFraction": 0.28,
      "bottomCap": 92,
      "maximumSampleTicks": 24,
      "tickSpacingX": 78,
      "tickSpacingY": 56,
      "maximumTicksX": 9,
      "maximumTicksY": 8,
      "titleX": "Este (m)",
      "titleY": "Norte (m)"
    },
    "arrow": {
      "maximumCellFraction": 0.9,
      "minimumMaximumLength": 7,
      "headFraction": 0.34,
      "headMaximum": 9,
      "headOpening": 0.52,
      "stemHalfWidthFraction": 0.17,
      "calmRadius": 2.4,
      "calmStrokeWidth": 1.2,
      "opacity": 0.95,
      "rounding": 2
    },
    "legend": {
      "measuredRows": {
        "rowGap": 16,
        "lineHeight": 1.4,
        "maxLines": 4,
        "edge": 8
      },
      "exportMeasurement": "shaped",
      "steps": 3,
      "bandGap": 14,
      "labelGap": 10,
      "stepGap": 24,
      "classSeparation": 34,
      "chipLength": 17,
      "chipGap": 6,
      "betweenChips": 15,
      "lengthInk": "textSecondary",
      "labelInk": "textMuted",
      "fontSize": 11,
      "magnitudeLabel": "Velocidad media",
      "unitSuffix": " m/s",
      "nameOverflow": "preserve"
    },
    "compass": [
      "N",
      "NNE",
      "NE",
      "ENE",
      "E",
      "ESE",
      "SE",
      "SSE",
      "S",
      "SSO",
      "SO",
      "OSO",
      "O",
      "ONO",
      "NO",
      "NNO"
    ]
  }
}
