This dataset contains the electric field data sampled along ocean-continent boundaries during space weather hazards. A finite-difference time-domain (FDTD) technique is used to study potential space weather hazards to electric power grids located at the proximity of the coast. The most of the data are in floating point representation, and the data files are in .txt format. The data can be visualized using software such as MATLAB and Python. The data can be used to plot electric and magnetic fields along the ocean-continent boundaries for different scenarios (different depths of an ocean, different conductivities of a lithosphere and different frequencies of ionospheric disturbance).