pfe:~dmenemen/llc_2160/regions/latlon/readme.txt Files in latlon/grid are the MITgcm grid specification files. In particular (XC,YC) are the longitude/latitude coordinates of the grid cell centers and (XG,YG) are the coordiates of the southwest corners of the grid cells. They are Binary, IEEE-big-endian Real*4, 8640x4320 XC=readbin('grid/XC_8640x4320',[8640 4320]); Files in latlon/Salt are sea surface salinity in g/kg specified at the grid cell centers (XC,YC): TIMESTEP_Salt_1.1441.1_8640.4320.1 TIMESTEP=92160:80:1586400; % are the available time steps ts2dte(TIMESTEP,45,2011,1,17,30) % converts TIMESTEP to a date Salt=readbin('Salt/0000092160_Salt_1.1441.1_8640.4320.1',[8640 4320]); Files in latlon/Theta are sea surface temperature in deg C specified at the grid cell centers (XC,YC): TIMESTEP_Theta_1.1441.1_8640.4320.1 TIMESTEP=92160:80:1586400; % are the available time steps ts2dte(TIMESTEP,45,2011,1,17,30) % converts TIMESTEP to a date Theta=readbin('Theta/0000092160_Theta_1.1441.1_8640.4320.1',[8640 4320]); Files latlon/U and V are the surface velocity fields at southwest edges of the grid cells. Files in latlon/matlab readbin.m and ts2dte.m are matlab routines used to read files as per above. ExtractFields.m Used to extract grid information and surface S/T/U/V for the 70S-57N geographical region, which is on a latitude/longitude grid. plot_currents.m Used to simulated plot surface currents near Cameroon. get_coastline.m Find all wet points adjacent to at least one dry point. Saved to latlon/grid/coastline.mat lookat.m Plots U and V fields. drifters.m Generates drifter trajectories for 11 release locations for Magdalene's paper. Saved in latlon/drift/magdalene/magdalene.mat drifters_v2.m Computes and saves global trajectories in latlon/drift/global output file format: DriftLat_n4331_dt3600_DATE DriftLon_n4331_dt3600_DATE where DATE ranges from 20110401T000000 to 20120401T000000 One file per release hour Binary, IEEE-big-endian Real*4 4331 drifters by 8761 hourly time steps driftlat=readbin('global/DriftLat_n4331_dt3600_20120401T000000',[4331 8761]); driftlon=readbin('global/DriftLon_n4331_dt3600_20120401T000000',[4331 8761]); plot(driftlon(:),driftlat(:),'.') drifters_v3.m Computes and saves global trajectories in latlon/drift/global_v3 output file format: DriftLat_4331xACTIVE_DATE DriftLon_4331xACTIVE_DATE Where DATE ranges from 20110401T000000 to 20130401T000000 and ACTIVE ranges from 1 to 8761 and back to 1 One file per integration hour Binary, IEEE-big-endian Real*4 4331 drifters by ACTIVE floats driftlat=readbin('global_v3/DriftLat_4331x8529_20120321T080000',[4331 8529]); driftlon=readbin('global_v3/DriftLon_4331x8529_20120321T080000',[4331 8529]); plot(driftlon(:),driftlat(:),'.') get_TS.m Extract Theta and Salt for v3 DriftLat and DriftLon output file format same as v3 above: DriftS_4331xACTIVE_DATE DriftT_4331xACTIVE_DATE Where DATE ranges from 20110401T000000 to 20130401T000000 and ACTIVE ranges from 1 to 8761 and back to 1