Changes between Version 11 and Version 12 of udg/ecoms/RPackage/examples/drift


Ignore:
Timestamp:
Oct 9, 2015 3:29:28 PM (7 years ago)
Author:
juaco
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • udg/ecoms/RPackage/examples/drift

    v11 v12  
    6969# This step ensures regularity of the CFS grid, which is not perfectly regular:
    7070xy.coords <- coordinates(points2grid(points = SpatialPoints(xy), tolerance = .003))
    71 # Trick to adequately adjust the coordinate ordering (thanks Kathryn!)
     71# Trick to adequately adjust the coordinate ordering (thanks to Kathryn Nicklin for spotting a previous error here)
    7272xy.coords[ ,2] <- rev(xy.coords[ ,2])
    7373# Now we create a data.frame with the coordinates X-Y in the first two columns and the mean anomalies in the next 6 columns: