From b4e76eadba74cdca0a327d0e21734dfa108898fd Mon Sep 17 00:00:00 2001 From: SorooshMani-NOAA Date: Thu, 1 Aug 2024 11:02:11 -0400 Subject: [PATCH] Fix tide debug test and ref for mac failure --- .../test_tidal_run/debug_tide_K1_0.csv | 152 +++++++++--------- .../test_tidal_run/debug_tide_K2_0.csv | 152 +++++++++--------- .../test_tidal_run/debug_tide_M2_0.csv | 152 +++++++++--------- .../test_tidal_run/debug_tide_N2_0.csv | 152 +++++++++--------- .../test_tidal_run/debug_tide_O1_0.csv | 152 +++++++++--------- .../test_tidal_run/debug_tide_P1_0.csv | 152 +++++++++--------- .../test_tidal_run/debug_tide_Q1_0.csv | 152 +++++++++--------- .../test_tidal_run/debug_tide_S2_0.csv | 152 +++++++++--------- tests/test_tidal_run.py | 2 +- 9 files changed, 609 insertions(+), 609 deletions(-) diff --git a/tests/data/reference/test_tidal_run/debug_tide_K1_0.csv b/tests/data/reference/test_tidal_run/debug_tide_K1_0.csv index c1ab3189..f5293f06 100644 --- a/tests/data/reference/test_tidal_run/debug_tide_K1_0.csv +++ b/tests/data/reference/test_tidal_run/debug_tide_K1_0.csv @@ -1,76 +1,76 @@ -,0,1 -0,-72.9240934829,40.7116348764 -1,-72.9182196345,40.6928637246 -2,-72.9116102699,40.6743429718 -3,-72.9036453737,40.6563677493 -4,-72.8960916435,40.6382202011 -5,-72.8867266397,40.6209275506 -6,-72.8765730476,40.6040818795 -7,-72.8660226585,40.5874846996 -8,-72.854776351,40.5713483307 -9,-72.8431125365,40.5555114885 -10,-72.8304385128,40.5404900942 -11,-72.8172274621,40.5259344624 -12,-72.8032999472,40.5121450904 -13,-72.7883340812,40.4994234148 -14,-72.773821582,40.4861593774 -15,-72.7583103216,40.4740722613 -16,-72.7423159764,40.462624285 -17,-72.7261905835,40.4513619685 -18,-72.708748632,40.4424216046 -19,-72.6914177581,40.4332598761 -20,-72.6737540478,40.4247592382 -21,-72.6556641338,40.4170658935 -22,-72.6375908484,40.4093120901 -23,-72.6189166534,40.4031691314 -24,-72.5998058983,40.3985309846 -25,-72.5807659304,40.3936131677 -26,-72.5613889486,40.3903742323 -27,-72.541839976,40.3882041062 -28,-72.522328501,40.3857263226 -29,-72.5027034706,40.3845490461 -30,-72.4830356451,40.3844650149 -31,-72.4633680739,40.3846270726 -32,-72.4438828325,40.3871719023 -33,-72.4242743815,40.3885857929 -34,-72.4047036057,40.3905071396 -35,-72.3855205877,40.3947870163 -36,-72.3671792974,40.4018522168 -37,-72.3480395416,40.4063066972 -38,-72.3293679321,40.4124597013 -39,-72.3112696477,40.4201546677 -40,-72.2928386727,40.4270147109 -41,-72.2751875267,40.4356792198 -42,-72.257989924,40.4452183456 -43,-72.241568628,40.4560392341 -44,-72.2256468677,40.4675867657 -45,-72.2094226009,40.4787029072 -46,-72.1940643204,40.4909829874 -47,-72.1797315575,40.5044499556 -48,-72.1657396535,40.5182687922 -49,-72.1509909829,40.5312529299 -50,-72.1386682155,40.5465778203 -51,-72.1265713723,40.5620871889 -52,-72.1144881059,40.5776067076 -53,-72.1030792968,40.5936158114 -54,-72.0933757567,40.6107233574 -55,-72.0841499692,40.6280922483 -56,-72.0759694202,40.6459731045 -57,-72.0683638578,40.6640986447 -58,-72.0598868149,40.68183042 -59,-72.0534794919,40.7004219801 -60,-72.0477220345,40.7192253755 -61,-72.0433208231,40.7382898205 -62,-72.0414096174,40.7578028099 -63,-72.0371130643,40.776989986 -64,-72.0346858872,40.7964923293 -65,-72.0334145465,40.8161166979 -66,-72.0325120636,40.8357519077 -67,-72.0327867472,40.8554188356 -68,-72.0333771409,40.8750775725 -69,-72.0356475499,40.8945960472 -70,-72.0383639854,40.9140633429 -71,-72.0419219761,40.9333711002 -72,-72.0469687227,40.9523807323 -73,-72.0521937363,40.9713426805 -74,-72.0576782709,40.9902316949 +,amp,phase +0,0.06393274114007583,175.23707152857546 +1,0.06808047706782638,174.5861955187775 +2,0.07216637301137083,173.94536925846296 +3,0.076119516818043,173.3260230261638 +4,0.08011445901660313,172.6999201496627 +5,0.08302313446868809,172.26268329317222 +6,0.08307867106280892,172.36345177149204 +7,0.08313548619821984,172.4758024457211 +8,0.08318360409057858,172.58795326904786 +9,0.08322631970470028,172.70002633713955 +10,0.08325523819216453,172.81148313514686 +11,0.08327656396445932,172.92246000797758 +12,0.08328660108398406,173.03211280745762 +13,0.08328108169385752,173.14009495589085 +14,0.08329331468727524,173.25020227189083 +15,0.08328799971274631,173.35785629525623 +16,0.08328587624198772,173.46398920213676 +17,0.08329468128103544,173.56965130959355 +18,0.08327568040451454,173.6683810151415 +19,0.083259249595311,173.7674825520982 +20,0.08323513927746427,173.83759925160433 +21,0.08320153800972395,173.9056011353543 +22,0.08316856190125016,173.97379442606223 +23,0.08312777831488852,174.0382017110291 +24,0.08309215092119362,174.09997711366685 +25,0.08305926778791443,174.16263985610993 +26,0.08301026235471631,174.21977184186434 +27,0.08295116338166592,174.27328410363128 +28,0.08289492180060995,174.32786616818478 +29,0.08281582882102352,174.38548876690513 +30,0.08272613423535374,174.43332495544024 +31,0.08264564861212349,174.47385667407892 +32,0.08253920538082138,174.5084812516872 +33,0.0824449357719379,174.54598581781696 +34,0.0823451333808872,174.58223475029052 +35,0.08222046660611598,174.61220550065897 +36,0.08207422796971196,174.63709311943845 +37,0.08196309084658567,174.6742275211215 +38,0.08183442840768666,174.70626038822235 +39,0.08169033070488901,174.7332940805714 +40,0.08153983749510225,174.77116369500067 +41,0.08134420579361301,174.8179938441897 +42,0.08113955602954546,174.86204059068072 +43,0.08093571652075031,174.8996096914393 +44,0.08073695867286076,174.93265632733068 +45,0.08051190613244769,174.99657445329672 +46,0.08026135347011365,175.06881896655545 +47,0.0800128719610044,175.12109237548543 +48,0.0797909400635353,175.13958392645344 +49,0.0795747243086149,175.16439146160775 +50,0.07934393647271148,175.17007787559476 +51,0.0791121669180645,175.1740961539345 +52,0.07888875815774528,175.19147286394977 +53,0.0786638209556962,175.20522316092604 +54,0.07844728071296424,175.1788187488977 +55,0.07823464828609213,175.13885757912692 +56,0.07800820447370486,175.11191123138775 +57,0.07778086014916244,175.08157363611195 +58,0.07755513726737445,175.05645663645146 +59,0.07732640786957566,175.01889441310303 +60,0.07709738547853527,174.97699594543207 +61,0.07686977930786604,174.92808174998356 +62,0.076645117735892,174.87388802144926 +63,0.07641647261170521,174.8424820694541 +64,0.07616194395653259,174.80092530693523 +65,0.07588793289841583,174.75314152939444 +66,0.07561584000865819,174.70370528078206 +67,0.07534990790111318,174.64900319852734 +68,0.07508461401329737,174.5972038521003 +69,0.07451958166245337,175.60842073633222 +70,0.07395856196406636,176.61499740741982 +71,0.07340697732153588,177.6095241648249 +72,0.07287255423568066,178.58190244727615 +73,0.07234054089047715,179.55100152857779 +74,0.07181213970624992,180.5151428141931 diff --git a/tests/data/reference/test_tidal_run/debug_tide_K2_0.csv b/tests/data/reference/test_tidal_run/debug_tide_K2_0.csv index c1ab3189..ee78d46d 100644 --- a/tests/data/reference/test_tidal_run/debug_tide_K2_0.csv +++ b/tests/data/reference/test_tidal_run/debug_tide_K2_0.csv @@ -1,76 +1,76 @@ -,0,1 -0,-72.9240934829,40.7116348764 -1,-72.9182196345,40.6928637246 -2,-72.9116102699,40.6743429718 -3,-72.9036453737,40.6563677493 -4,-72.8960916435,40.6382202011 -5,-72.8867266397,40.6209275506 -6,-72.8765730476,40.6040818795 -7,-72.8660226585,40.5874846996 -8,-72.854776351,40.5713483307 -9,-72.8431125365,40.5555114885 -10,-72.8304385128,40.5404900942 -11,-72.8172274621,40.5259344624 -12,-72.8032999472,40.5121450904 -13,-72.7883340812,40.4994234148 -14,-72.773821582,40.4861593774 -15,-72.7583103216,40.4740722613 -16,-72.7423159764,40.462624285 -17,-72.7261905835,40.4513619685 -18,-72.708748632,40.4424216046 -19,-72.6914177581,40.4332598761 -20,-72.6737540478,40.4247592382 -21,-72.6556641338,40.4170658935 -22,-72.6375908484,40.4093120901 -23,-72.6189166534,40.4031691314 -24,-72.5998058983,40.3985309846 -25,-72.5807659304,40.3936131677 -26,-72.5613889486,40.3903742323 -27,-72.541839976,40.3882041062 -28,-72.522328501,40.3857263226 -29,-72.5027034706,40.3845490461 -30,-72.4830356451,40.3844650149 -31,-72.4633680739,40.3846270726 -32,-72.4438828325,40.3871719023 -33,-72.4242743815,40.3885857929 -34,-72.4047036057,40.3905071396 -35,-72.3855205877,40.3947870163 -36,-72.3671792974,40.4018522168 -37,-72.3480395416,40.4063066972 -38,-72.3293679321,40.4124597013 -39,-72.3112696477,40.4201546677 -40,-72.2928386727,40.4270147109 -41,-72.2751875267,40.4356792198 -42,-72.257989924,40.4452183456 -43,-72.241568628,40.4560392341 -44,-72.2256468677,40.4675867657 -45,-72.2094226009,40.4787029072 -46,-72.1940643204,40.4909829874 -47,-72.1797315575,40.5044499556 -48,-72.1657396535,40.5182687922 -49,-72.1509909829,40.5312529299 -50,-72.1386682155,40.5465778203 -51,-72.1265713723,40.5620871889 -52,-72.1144881059,40.5776067076 -53,-72.1030792968,40.5936158114 -54,-72.0933757567,40.6107233574 -55,-72.0841499692,40.6280922483 -56,-72.0759694202,40.6459731045 -57,-72.0683638578,40.6640986447 -58,-72.0598868149,40.68183042 -59,-72.0534794919,40.7004219801 -60,-72.0477220345,40.7192253755 -61,-72.0433208231,40.7382898205 -62,-72.0414096174,40.7578028099 -63,-72.0371130643,40.776989986 -64,-72.0346858872,40.7964923293 -65,-72.0334145465,40.8161166979 -66,-72.0325120636,40.8357519077 -67,-72.0327867472,40.8554188356 -68,-72.0333771409,40.8750775725 -69,-72.0356475499,40.8945960472 -70,-72.0383639854,40.9140633429 -71,-72.0419219761,40.9333711002 -72,-72.0469687227,40.9523807323 -73,-72.0521937363,40.9713426805 -74,-72.0576782709,40.9902316949 +,amp,phase +0,0.026436610605814294,31.894047143849832 +1,0.027936927435276808,21.138206909399585 +2,0.029441414283271215,10.322191175372373 +3,0.029787309597717505,7.811668162537996 +4,0.02978008777676471,7.86708737075354 +5,0.02975303014656897,7.930500555363422 +6,0.02969081642694073,8.036974323378278 +7,0.029626896876299273,8.149670092762682 +8,0.029560005568971776,8.2601798596048 +9,0.02949134985108719,8.368538118690228 +10,0.02941524038007085,8.46780211341594 +11,0.02931796957803548,8.544782262031315 +12,0.029217912594817395,8.616354442496565 +13,0.02911328788487783,8.680214409507093 +14,0.029000184054470423,8.74480550068249 +15,0.028884311797551323,8.801470410079304 +16,0.028779562494053855,8.857576150563034 +17,0.028688030927765677,8.916508800897214 +18,0.0285968058322015,8.961063543543451 +19,0.02850523588373139,9.006672610964344 +20,0.02839324813981138,9.02339998120954 +21,0.028281797955858536,9.035509443553172 +22,0.028170234121454373,9.047942726218173 +23,0.028065807294483568,9.053467624822586 +24,0.027974522291379925,9.055068876306489 +25,0.027882625493339523,9.058136572548642 +26,0.027794753056661237,9.052499564165498 +27,0.027709612843937442,9.041368633776669 +28,0.02762363811840941,9.031805681435062 +29,0.027541370790465737,9.020046197716377 +30,0.02744885919293181,9.024126425411726 +31,0.027354973525348287,9.018861586315637 +32,0.027269587903098205,9.005634391998758 +33,0.02717999187366396,8.996177582767341 +34,0.027092200542988127,8.98502476298517 +35,0.027013817736779987,8.966040344965467 +36,0.026954644803451805,8.940401938662026 +37,0.026892340176950018,8.92696609730917 +38,0.026837343404519234,8.90778576272641 +39,0.02678957420495542,8.883378566816742 +40,0.026737802492568834,8.867675988073206 +41,0.02669492437794066,8.856817359955222 +42,0.026656659206193273,8.843253221071945 +43,0.026632345825364414,8.820247671374494 +44,0.02661834800319006,8.790112141303997 +45,0.02661742630643844,8.771971118362945 +46,0.026629686976569956,8.755275390305986 +47,0.02663847648857368,8.73785164740676 +48,0.026627006068472677,8.724696339952672 +49,0.026612383893297484,8.713360879627018 +50,0.026607329080998117,8.696727641985724 +51,0.02660311165110025,8.679654648155797 +52,0.026590533337877233,8.658352031557186 +53,0.02657963950762034,8.635475666759605 +54,0.026575960402207967,8.629861750269743 +55,0.026574228381605405,8.635803376053033 +56,0.026576659992406527,8.648359428922832 +57,0.02658132305259952,8.660153074833737 +58,0.026582567354612726,8.673100432843619 +59,0.026588689233734555,8.67830787548696 +60,0.026589914051126422,8.670943542412356 +61,0.026594602695294924,8.659685462002201 +62,0.026593141698688313,8.650054625140873 +63,0.026567480254840983,8.659862513481709 +64,0.02655549832026785,8.681711341818753 +65,0.026553464177087784,8.713587567476354 +66,0.02655202020582484,8.743973596673301 +67,0.026552459699165747,8.769599921029974 +68,0.026553776675829775,8.803241913777295 +69,0.026651097915976835,11.164302256120777 +70,0.026748887138877728,13.517327631642784 +71,0.026847257065224783,15.847545116721705 +72,0.026946577999144853,18.135484149987278 +73,0.02704595527749123,20.41690512063391 +74,0.027145397707135404,22.688410164274703 diff --git a/tests/data/reference/test_tidal_run/debug_tide_M2_0.csv b/tests/data/reference/test_tidal_run/debug_tide_M2_0.csv index c1ab3189..fb786cef 100644 --- a/tests/data/reference/test_tidal_run/debug_tide_M2_0.csv +++ b/tests/data/reference/test_tidal_run/debug_tide_M2_0.csv @@ -1,76 +1,76 @@ -,0,1 -0,-72.9240934829,40.7116348764 -1,-72.9182196345,40.6928637246 -2,-72.9116102699,40.6743429718 -3,-72.9036453737,40.6563677493 -4,-72.8960916435,40.6382202011 -5,-72.8867266397,40.6209275506 -6,-72.8765730476,40.6040818795 -7,-72.8660226585,40.5874846996 -8,-72.854776351,40.5713483307 -9,-72.8431125365,40.5555114885 -10,-72.8304385128,40.5404900942 -11,-72.8172274621,40.5259344624 -12,-72.8032999472,40.5121450904 -13,-72.7883340812,40.4994234148 -14,-72.773821582,40.4861593774 -15,-72.7583103216,40.4740722613 -16,-72.7423159764,40.462624285 -17,-72.7261905835,40.4513619685 -18,-72.708748632,40.4424216046 -19,-72.6914177581,40.4332598761 -20,-72.6737540478,40.4247592382 -21,-72.6556641338,40.4170658935 -22,-72.6375908484,40.4093120901 -23,-72.6189166534,40.4031691314 -24,-72.5998058983,40.3985309846 -25,-72.5807659304,40.3936131677 -26,-72.5613889486,40.3903742323 -27,-72.541839976,40.3882041062 -28,-72.522328501,40.3857263226 -29,-72.5027034706,40.3845490461 -30,-72.4830356451,40.3844650149 -31,-72.4633680739,40.3846270726 -32,-72.4438828325,40.3871719023 -33,-72.4242743815,40.3885857929 -34,-72.4047036057,40.3905071396 -35,-72.3855205877,40.3947870163 -36,-72.3671792974,40.4018522168 -37,-72.3480395416,40.4063066972 -38,-72.3293679321,40.4124597013 -39,-72.3112696477,40.4201546677 -40,-72.2928386727,40.4270147109 -41,-72.2751875267,40.4356792198 -42,-72.257989924,40.4452183456 -43,-72.241568628,40.4560392341 -44,-72.2256468677,40.4675867657 -45,-72.2094226009,40.4787029072 -46,-72.1940643204,40.4909829874 -47,-72.1797315575,40.5044499556 -48,-72.1657396535,40.5182687922 -49,-72.1509909829,40.5312529299 -50,-72.1386682155,40.5465778203 -51,-72.1265713723,40.5620871889 -52,-72.1144881059,40.5776067076 -53,-72.1030792968,40.5936158114 -54,-72.0933757567,40.6107233574 -55,-72.0841499692,40.6280922483 -56,-72.0759694202,40.6459731045 -57,-72.0683638578,40.6640986447 -58,-72.0598868149,40.68183042 -59,-72.0534794919,40.7004219801 -60,-72.0477220345,40.7192253755 -61,-72.0433208231,40.7382898205 -62,-72.0414096174,40.7578028099 -63,-72.0371130643,40.776989986 -64,-72.0346858872,40.7964923293 -65,-72.0334145465,40.8161166979 -66,-72.0325120636,40.8357519077 -67,-72.0327867472,40.8554188356 -68,-72.0333771409,40.8750775725 -69,-72.0356475499,40.8945960472 -70,-72.0383639854,40.9140633429 -71,-72.0419219761,40.9333711002 -72,-72.0469687227,40.9523807323 -73,-72.0521937363,40.9713426805 -74,-72.0576782709,40.9902316949 +,amp,phase +0,0.41782341156875574,311.1309022658316 +1,0.44491313327817417,318.62802312167764 +2,0.4715581495947204,326.02689353574 +3,0.49725959330701525,333.2111779314876 +4,0.5232573552509093,340.4632839498829 +5,0.5418887855491866,345.7696566036085 +6,0.5410581616969886,345.8829832768688 +7,0.5401406645368133,346.0030868670873 +8,0.5391455169529659,346.1220849947854 +9,0.5381012051448448,346.2408282690352 +10,0.5369367008944457,346.3584832251098 +11,0.5357078634918278,346.4753918260997 +12,0.5343912270220375,346.59055136580923 +13,0.5329377804656901,346.7039522127552 +14,0.5313173769836071,346.83093821554223 +15,0.5295938150272116,346.9537907385478 +16,0.5278513721169797,347.06929467209324 +17,0.5261292836609935,347.1786602113241 +18,0.5242795608596404,347.27698776623083 +19,0.5224415361728139,347.37609397876355 +20,0.5206542291928091,347.4471460654237 +21,0.5188246067795276,347.5146481048107 +22,0.5169966121546821,347.5824392506889 +23,0.5151434031394384,347.64617450765223 +24,0.5133203500433993,347.71004450817594 +25,0.5115038120971427,347.7752215366576 +26,0.5096565338567517,347.83236947855727 +27,0.5077937373411969,347.88431741858545 +28,0.5059342644144621,347.9377871646539 +29,0.5040047781662979,347.98089661801924 +30,0.5024400066873534,348.0732209016259 +31,0.5008200430094341,348.1419973669092 +32,0.4992246350145983,348.2034601497892 +33,0.4976145504906537,348.26852331756896 +34,0.4960096003592902,348.3320329660511 +35,0.49444603624693295,348.387573700341 +36,0.4930317975983797,348.43548001134434 +37,0.4916409333842915,348.4980335961631 +38,0.4902913191787917,348.5539961347638 +39,0.48899006984231963,348.6033937140327 +40,0.48771971981810636,348.6718483570975 +41,0.4866236742243743,348.76098692374023 +42,0.4855672028364349,348.84660604091766 +43,0.484569485744356,348.91092982278354 +44,0.48360690330289857,348.9578612083791 +45,0.48269637812700594,349.0264655005234 +46,0.4818902741325306,349.0992026310421 +47,0.48112773725826713,349.1768911267434 +48,0.4803096413510339,349.2739037953911 +49,0.47943843764845306,349.3727459006246 +50,0.4787356012152469,349.46499994362034 +51,0.478048257115715,349.55656804116126 +52,0.47740388892088603,349.6354791355574 +53,0.47680901585090757,349.7111341280895 +54,0.476503021741202,349.8246553400534 +55,0.47625405790862246,349.96119193200263 +56,0.47573386623859815,350.1032548051538 +57,0.4752406280915021,350.2431401035576 +58,0.47470668435298896,350.38620672670845 +59,0.47422931985719985,350.51477166317943 +60,0.47368772710720036,350.6251768614972 +61,0.4731949132747944,350.72608508293774 +62,0.4726173917918017,350.8194350361528 +63,0.47169683362049425,350.9445269680358 +64,0.47098831888025305,351.0747238660509 +65,0.47043666909383847,351.2104477998611 +66,0.4698944709981069,351.34284668699405 +67,0.4693825129079269,351.4646158729716 +68,0.4688921690722281,351.4781193637197 +69,0.4717237310141496,325.0830862542359 +70,0.4745598007045713,298.7531047288061 +71,0.4773954331276155,272.6309554081901 +72,0.4802280351551969,246.89794795532487 +73,0.4830585723453475,221.22773280708628 +74,0.4858856043305382,195.65368108717558 diff --git a/tests/data/reference/test_tidal_run/debug_tide_N2_0.csv b/tests/data/reference/test_tidal_run/debug_tide_N2_0.csv index c1ab3189..f78af09c 100644 --- a/tests/data/reference/test_tidal_run/debug_tide_N2_0.csv +++ b/tests/data/reference/test_tidal_run/debug_tide_N2_0.csv @@ -1,76 +1,76 @@ -,0,1 -0,-72.9240934829,40.7116348764 -1,-72.9182196345,40.6928637246 -2,-72.9116102699,40.6743429718 -3,-72.9036453737,40.6563677493 -4,-72.8960916435,40.6382202011 -5,-72.8867266397,40.6209275506 -6,-72.8765730476,40.6040818795 -7,-72.8660226585,40.5874846996 -8,-72.854776351,40.5713483307 -9,-72.8431125365,40.5555114885 -10,-72.8304385128,40.5404900942 -11,-72.8172274621,40.5259344624 -12,-72.8032999472,40.5121450904 -13,-72.7883340812,40.4994234148 -14,-72.773821582,40.4861593774 -15,-72.7583103216,40.4740722613 -16,-72.7423159764,40.462624285 -17,-72.7261905835,40.4513619685 -18,-72.708748632,40.4424216046 -19,-72.6914177581,40.4332598761 -20,-72.6737540478,40.4247592382 -21,-72.6556641338,40.4170658935 -22,-72.6375908484,40.4093120901 -23,-72.6189166534,40.4031691314 -24,-72.5998058983,40.3985309846 -25,-72.5807659304,40.3936131677 -26,-72.5613889486,40.3903742323 -27,-72.541839976,40.3882041062 -28,-72.522328501,40.3857263226 -29,-72.5027034706,40.3845490461 -30,-72.4830356451,40.3844650149 -31,-72.4633680739,40.3846270726 -32,-72.4438828325,40.3871719023 -33,-72.4242743815,40.3885857929 -34,-72.4047036057,40.3905071396 -35,-72.3855205877,40.3947870163 -36,-72.3671792974,40.4018522168 -37,-72.3480395416,40.4063066972 -38,-72.3293679321,40.4124597013 -39,-72.3112696477,40.4201546677 -40,-72.2928386727,40.4270147109 -41,-72.2751875267,40.4356792198 -42,-72.257989924,40.4452183456 -43,-72.241568628,40.4560392341 -44,-72.2256468677,40.4675867657 -45,-72.2094226009,40.4787029072 -46,-72.1940643204,40.4909829874 -47,-72.1797315575,40.5044499556 -48,-72.1657396535,40.5182687922 -49,-72.1509909829,40.5312529299 -50,-72.1386682155,40.5465778203 -51,-72.1265713723,40.5620871889 -52,-72.1144881059,40.5776067076 -53,-72.1030792968,40.5936158114 -54,-72.0933757567,40.6107233574 -55,-72.0841499692,40.6280922483 -56,-72.0759694202,40.6459731045 -57,-72.0683638578,40.6640986447 -58,-72.0598868149,40.68183042 -59,-72.0534794919,40.7004219801 -60,-72.0477220345,40.7192253755 -61,-72.0433208231,40.7382898205 -62,-72.0414096174,40.7578028099 -63,-72.0371130643,40.776989986 -64,-72.0346858872,40.7964923293 -65,-72.0334145465,40.8161166979 -66,-72.0325120636,40.8357519077 -67,-72.0327867472,40.8554188356 -68,-72.0333771409,40.8750775725 -69,-72.0356475499,40.8945960472 -70,-72.0383639854,40.9140633429 -71,-72.0419219761,40.9333711002 -72,-72.0469687227,40.9523807323 -73,-72.0521937363,40.9713426805 -74,-72.0576782709,40.9902316949 +,amp,phase +0,0.10089299710202712,272.40421280079136 +1,0.10728724549020481,284.72723021586523 +2,0.11358122219363713,296.8866452230091 +3,0.11966128546934691,308.6893918010563 +4,0.12580860780688247,320.60482149532066 +5,0.13022228580921494,329.3050204745286 +6,0.1300624137770778,329.3929845850443 +7,0.12990202445231488,329.4926066955951 +8,0.129729907981239,329.5931822686779 +9,0.1295499641243561,329.69339406041627 +10,0.12934767862851995,329.7877515747343 +11,0.12911623954348106,329.85473262719574 +12,0.12887100446686797,329.91999488600936 +13,0.12860304188383445,329.98332857604765 +14,0.12828295497080888,330.057082229994 +15,0.1279491985152384,330.12721843836925 +16,0.1276275519278709,330.1971583346725 +17,0.12732449644967567,330.26851949361753 +18,0.12700966389979929,330.33222272861053 +19,0.1266957231280507,330.39634270773763 +20,0.1263791013514683,330.43134185475276 +21,0.1260588895073069,330.464026918924 +22,0.12573870188477027,330.49689262516057 +23,0.12541534312118147,330.5269682120722 +24,0.1250910186732164,330.55672817848324 +25,0.12476670813470289,330.5873040468849 +26,0.12444372093054978,330.61291164572174 +27,0.1241222571297303,330.6353222962691 +28,0.1238001626552438,330.65866279924745 +29,0.12348145334433426,330.6813224775793 +30,0.12319514718108761,330.7312059663184 +31,0.12289710679008599,330.7687764672546 +32,0.1226151814666514,330.80313707292015 +33,0.12232505003440121,330.83909160927874 +34,0.12203833304728592,330.8743647565664 +35,0.12177071788565882,330.9060626478537 +36,0.12155652179994167,330.93342570749763 +37,0.12135179063577811,330.96635897260205 +38,0.121162189033768,330.99631738492326 +39,0.12098810238433742,331.02327849112027 +40,0.12081268814312654,331.06145048759504 +41,0.12067044762719946,331.1137229856794 +42,0.1205388843515112,331.16447661905227 +43,0.12042421900564099,331.2025456742731 +44,0.12031979898473638,331.2299898160922 +45,0.1202400791848619,331.2719455752148 +46,0.12019088084902965,331.3181412376419 +47,0.12013966267672736,331.36735962708457 +48,0.12004956076137509,331.4263944220037 +49,0.11994952285965876,331.4859643466681 +50,0.11988026400794917,331.5432561215213 +51,0.11981376435616853,331.60027942794994 +52,0.11976424613535548,331.65139775182195 +53,0.11972420439769009,331.7011095700337 +54,0.11970131987575329,331.7742399218537 +55,0.11967319850695587,331.8633866217741 +56,0.11960775386530553,331.96591201844166 +57,0.1195469091340023,332.06747721845295 +58,0.11947909253210315,332.17040244570904 +59,0.11941847030311184,332.26354229798454 +60,0.11934110049569936,332.34069790216677 +61,0.1192706992227854,332.4116862758025 +62,0.11918195425533344,332.4831336468367 +63,0.119035095525138,332.5830736197809 +64,0.11891557906909396,332.6899874808089 +65,0.1188162975560584,332.80320606323176 +66,0.1187184394425542,332.914151636547 +67,0.11862513776748745,333.0178277291852 +68,0.11853605497582674,333.0166532129999 +69,0.1191853423783676,307.2379190656148 +70,0.11983473522313944,281.5239223864139 +71,0.12048226144397968,256.0151979057657 +72,0.12112596420821574,230.89058999759936 +73,0.1217688160118341,205.82779821878245 +74,0.12241031367566248,180.85963892497693 diff --git a/tests/data/reference/test_tidal_run/debug_tide_O1_0.csv b/tests/data/reference/test_tidal_run/debug_tide_O1_0.csv index c1ab3189..47ad0152 100644 --- a/tests/data/reference/test_tidal_run/debug_tide_O1_0.csv +++ b/tests/data/reference/test_tidal_run/debug_tide_O1_0.csv @@ -1,76 +1,76 @@ -,0,1 -0,-72.9240934829,40.7116348764 -1,-72.9182196345,40.6928637246 -2,-72.9116102699,40.6743429718 -3,-72.9036453737,40.6563677493 -4,-72.8960916435,40.6382202011 -5,-72.8867266397,40.6209275506 -6,-72.8765730476,40.6040818795 -7,-72.8660226585,40.5874846996 -8,-72.854776351,40.5713483307 -9,-72.8431125365,40.5555114885 -10,-72.8304385128,40.5404900942 -11,-72.8172274621,40.5259344624 -12,-72.8032999472,40.5121450904 -13,-72.7883340812,40.4994234148 -14,-72.773821582,40.4861593774 -15,-72.7583103216,40.4740722613 -16,-72.7423159764,40.462624285 -17,-72.7261905835,40.4513619685 -18,-72.708748632,40.4424216046 -19,-72.6914177581,40.4332598761 -20,-72.6737540478,40.4247592382 -21,-72.6556641338,40.4170658935 -22,-72.6375908484,40.4093120901 -23,-72.6189166534,40.4031691314 -24,-72.5998058983,40.3985309846 -25,-72.5807659304,40.3936131677 -26,-72.5613889486,40.3903742323 -27,-72.541839976,40.3882041062 -28,-72.522328501,40.3857263226 -29,-72.5027034706,40.3845490461 -30,-72.4830356451,40.3844650149 -31,-72.4633680739,40.3846270726 -32,-72.4438828325,40.3871719023 -33,-72.4242743815,40.3885857929 -34,-72.4047036057,40.3905071396 -35,-72.3855205877,40.3947870163 -36,-72.3671792974,40.4018522168 -37,-72.3480395416,40.4063066972 -38,-72.3293679321,40.4124597013 -39,-72.3112696477,40.4201546677 -40,-72.2928386727,40.4270147109 -41,-72.2751875267,40.4356792198 -42,-72.257989924,40.4452183456 -43,-72.241568628,40.4560392341 -44,-72.2256468677,40.4675867657 -45,-72.2094226009,40.4787029072 -46,-72.1940643204,40.4909829874 -47,-72.1797315575,40.5044499556 -48,-72.1657396535,40.5182687922 -49,-72.1509909829,40.5312529299 -50,-72.1386682155,40.5465778203 -51,-72.1265713723,40.5620871889 -52,-72.1144881059,40.5776067076 -53,-72.1030792968,40.5936158114 -54,-72.0933757567,40.6107233574 -55,-72.0841499692,40.6280922483 -56,-72.0759694202,40.6459731045 -57,-72.0683638578,40.6640986447 -58,-72.0598868149,40.68183042 -59,-72.0534794919,40.7004219801 -60,-72.0477220345,40.7192253755 -61,-72.0433208231,40.7382898205 -62,-72.0414096174,40.7578028099 -63,-72.0371130643,40.776989986 -64,-72.0346858872,40.7964923293 -65,-72.0334145465,40.8161166979 -66,-72.0325120636,40.8357519077 -67,-72.0327867472,40.8554188356 -68,-72.0333771409,40.8750775725 -69,-72.0356475499,40.8945960472 -70,-72.0383639854,40.9140633429 -71,-72.0419219761,40.9333711002 -72,-72.0469687227,40.9523807323 -73,-72.0521937363,40.9713426805 -74,-72.0576782709,40.9902316949 +,amp,phase +0,0.03793746773656853,178.52975905830505 +1,0.04039677005057917,178.12391284141515 +2,0.04282001087695767,177.73174939149516 +3,0.045165674136663905,177.36688734484218 +4,0.047535774995917025,176.9935741588132 +5,0.04928926056438229,176.73382069897676 +6,0.04948574573628989,176.7638161846924 +7,0.049703027039774694,176.80576133306113 +8,0.049913484503377216,176.85594722947909 +9,0.05011953438878677,176.91216560997356 +10,0.050313685991921764,176.98340120204088 +11,0.05050107359078071,177.06276967654878 +12,0.05067746686720403,177.15366068615845 +13,0.050838970044895335,177.26266674857996 +14,0.051018362242192555,177.39964029336693 +15,0.05118000771678848,177.54988555278607 +16,0.05133821044555363,177.69254036742245 +17,0.05150038807811246,177.82146220854048 +18,0.0516291295365431,177.96687406545814 +19,0.051761316536863486,178.11020304474425 +20,0.05190465688971152,178.2061500203426 +21,0.052036067336729566,178.3082997961785 +22,0.05216838345371424,178.41009635062676 +23,0.052281562228314676,178.51856056810163 +24,0.05238263925990564,178.62764537054653 +25,0.05248785401888495,178.7351861871825 +26,0.05256808899310479,178.851411833569 +27,0.052632353246089406,178.97288382303702 +28,0.052701233898379655,179.0929253960517 +29,0.05275052852526339,179.23021513903285 +30,0.05280284540846375,179.38488897061006 +31,0.05286318865555594,179.5136179519594 +32,0.05288482413220288,179.6600370987179 +33,0.05292494888753665,179.79829755390597 +34,0.05295683379248905,179.9403329491467 +35,0.05294974142965273,180.09853534266279 +36,0.052889133995500694,180.27271793149606 +37,0.052863798112245224,180.43049251641702 +38,0.05281016231672928,180.5987233359343 +39,0.052730479158078984,180.7754972699928 +40,0.05266495287087454,180.97054419909512 +41,0.05256868290349054,181.2173975658581 +42,0.052457330551456856,181.46931950301536 +43,0.052337097029724514,181.70744269761553 +44,0.05221602293660225,181.93071000394977 +45,0.05208763725144228,182.21006396321283 +46,0.05193047831733663,182.52132015092434 +47,0.0517643380221107,182.8291531849197 +48,0.05162117633725423,183.11823326597596 +49,0.051491788181501484,183.40510235179863 +50,0.051322802981197846,183.69528055080917 +51,0.05115058592653491,183.98538886652338 +52,0.050986597092877284,184.27800517619082 +53,0.05081450920466903,184.569938424302 +54,0.050648416908609585,184.81459486197414 +55,0.050496601862618,185.049198405705 +56,0.05035645166911328,185.35050156854663 +57,0.05021053684884629,185.6509270147428 +58,0.05007359745666823,185.9523730489904 +59,0.04991300466475024,186.25162428315753 +60,0.04973925381203898,186.55193431140282 +61,0.04955389923051566,186.84641783800785 +62,0.04937255418363143,187.14912967752466 +63,0.049246554834833936,187.4921672026573 +64,0.049087179866505876,187.85189577757495 +65,0.04890488853715255,188.2244776085151 +66,0.048720722616627105,188.59392442887975 +67,0.0485306018088205,188.95331323191525 +68,0.04833954069103071,189.31337112117808 +69,0.048266183678749734,190.57638162201278 +70,0.04819084951395395,191.83199449432442 +71,0.04811198641044366,193.06950842801243 +72,0.04802693128515869,194.27395923414704 +73,0.04794117306742411,195.4736628059082 +74,0.047854402538015095,196.66622417029143 diff --git a/tests/data/reference/test_tidal_run/debug_tide_P1_0.csv b/tests/data/reference/test_tidal_run/debug_tide_P1_0.csv index c1ab3189..8314ad0c 100644 --- a/tests/data/reference/test_tidal_run/debug_tide_P1_0.csv +++ b/tests/data/reference/test_tidal_run/debug_tide_P1_0.csv @@ -1,76 +1,76 @@ -,0,1 -0,-72.9240934829,40.7116348764 -1,-72.9182196345,40.6928637246 -2,-72.9116102699,40.6743429718 -3,-72.9036453737,40.6563677493 -4,-72.8960916435,40.6382202011 -5,-72.8867266397,40.6209275506 -6,-72.8765730476,40.6040818795 -7,-72.8660226585,40.5874846996 -8,-72.854776351,40.5713483307 -9,-72.8431125365,40.5555114885 -10,-72.8304385128,40.5404900942 -11,-72.8172274621,40.5259344624 -12,-72.8032999472,40.5121450904 -13,-72.7883340812,40.4994234148 -14,-72.773821582,40.4861593774 -15,-72.7583103216,40.4740722613 -16,-72.7423159764,40.462624285 -17,-72.7261905835,40.4513619685 -18,-72.708748632,40.4424216046 -19,-72.6914177581,40.4332598761 -20,-72.6737540478,40.4247592382 -21,-72.6556641338,40.4170658935 -22,-72.6375908484,40.4093120901 -23,-72.6189166534,40.4031691314 -24,-72.5998058983,40.3985309846 -25,-72.5807659304,40.3936131677 -26,-72.5613889486,40.3903742323 -27,-72.541839976,40.3882041062 -28,-72.522328501,40.3857263226 -29,-72.5027034706,40.3845490461 -30,-72.4830356451,40.3844650149 -31,-72.4633680739,40.3846270726 -32,-72.4438828325,40.3871719023 -33,-72.4242743815,40.3885857929 -34,-72.4047036057,40.3905071396 -35,-72.3855205877,40.3947870163 -36,-72.3671792974,40.4018522168 -37,-72.3480395416,40.4063066972 -38,-72.3293679321,40.4124597013 -39,-72.3112696477,40.4201546677 -40,-72.2928386727,40.4270147109 -41,-72.2751875267,40.4356792198 -42,-72.257989924,40.4452183456 -43,-72.241568628,40.4560392341 -44,-72.2256468677,40.4675867657 -45,-72.2094226009,40.4787029072 -46,-72.1940643204,40.4909829874 -47,-72.1797315575,40.5044499556 -48,-72.1657396535,40.5182687922 -49,-72.1509909829,40.5312529299 -50,-72.1386682155,40.5465778203 -51,-72.1265713723,40.5620871889 -52,-72.1144881059,40.5776067076 -53,-72.1030792968,40.5936158114 -54,-72.0933757567,40.6107233574 -55,-72.0841499692,40.6280922483 -56,-72.0759694202,40.6459731045 -57,-72.0683638578,40.6640986447 -58,-72.0598868149,40.68183042 -59,-72.0534794919,40.7004219801 -60,-72.0477220345,40.7192253755 -61,-72.0433208231,40.7382898205 -62,-72.0414096174,40.7578028099 -63,-72.0371130643,40.776989986 -64,-72.0346858872,40.7964923293 -65,-72.0334145465,40.8161166979 -66,-72.0325120636,40.8357519077 -67,-72.0327867472,40.8554188356 -68,-72.0333771409,40.8750775725 -69,-72.0356475499,40.8945960472 -70,-72.0383639854,40.9140633429 -71,-72.0419219761,40.9333711002 -72,-72.0469687227,40.9523807323 -73,-72.0521937363,40.9713426805 -74,-72.0576782709,40.9902316949 +,amp,phase +0,0.023979110633751136,220.6275602636062 +1,0.025511756159694636,213.44151293154005 +2,0.027022003557448326,206.35015231953042 +3,0.02848404596127385,199.46543591652824 +4,0.02996127480764396,192.5154188596034 +5,0.031034659091259336,187.45176652174595 +6,0.031037243347850258,187.44497991881232 +7,0.031045659737020243,187.44382222648753 +8,0.031053483827798576,187.44386331626603 +9,0.03106016066575108,187.44340267852132 +10,0.031063916455129254,187.43744284104358 +11,0.03106606778283755,187.40614854033083 +12,0.031065846754408363,187.3739037597166 +13,0.031062256053192707,187.33998410196892 +14,0.031060258516217694,187.3005470225509 +15,0.031054779890562538,187.2604021988039 +16,0.03104750570725975,187.2218262334228 +17,0.03103972479244022,187.18521323976893 +18,0.03102612226525259,187.14872305173373 +19,0.03101305164507772,187.11188859818014 +20,0.030998390743219494,187.0503490227126 +21,0.030981756248203346,186.98926843124764 +22,0.030965245092749675,186.92811432458248 +23,0.03095006180642959,186.8690012204913 +24,0.030942194244732706,186.81270147541952 +25,0.030934830784475027,186.7560403023388 +26,0.03092451150551627,186.7017668676274 +27,0.03091234454079962,186.6491190599165 +28,0.030900699825664898,186.595973529601 +29,0.030881407001744,186.5516148999693 +30,0.030850140185642392,186.52150578810964 +31,0.030818283163623672,186.4843265908716 +32,0.030780999221660367,186.45607539588883 +33,0.030746232395776688,186.42351627991064 +34,0.030710307956676872,186.3928563315428 +35,0.030669343462863718,186.37143154560994 +36,0.030629297517454555,186.36352785845554 +37,0.030603294984652495,186.3474103977813 +38,0.030573590515540944,186.33819403474104 +39,0.03054064400008121,186.33549184531103 +40,0.0305094351461643,186.33509785414208 +41,0.030474519441302556,186.35347956060673 +42,0.03043786749217664,186.37604128157062 +43,0.030398760360272115,186.40079703528872 +44,0.030358308914769667,186.42555706987596 +45,0.030318650799550612,186.46036787732208 +46,0.030276892022494933,186.50677936682783 +47,0.030236665091338377,186.56024113695764 +48,0.030203361461339215,186.61646908285545 +49,0.030170787935603776,186.66789099651157 +50,0.030136409929829223,186.7330577587853 +51,0.03010191749840382,186.799338340124 +52,0.030075829195523582,186.86568121321244 +53,0.030050214653871532,186.93504593498972 +54,0.030008964539050727,187.02523845982847 +55,0.02995989861768368,187.1275142210377 +56,0.029910440170770995,187.2470189664253 +57,0.029860854471659665,187.36821395478438 +58,0.02981151662367192,187.4866931744091 +59,0.02976177106847304,187.60612161087738 +60,0.02971203700102317,187.71532035066073 +61,0.029662761410896063,187.82431159043776 +62,0.029614401317895916,187.93213176685177 +63,0.029564914899969895,188.0401332702791 +64,0.029516167580858985,188.1683587278144 +65,0.02946805206954557,188.3118472552345 +66,0.029420205625335524,188.45432116726627 +67,0.02937322479006001,188.59353654515806 +68,0.02932543016556103,188.73795560528492 +69,0.029007143438937448,190.42934258223286 +70,0.02869005286894927,192.11495676516392 +71,0.02837625197278686,193.78420013677572 +72,0.028068531334512068,195.4230999566784 +73,0.02776173532582501,197.0573236139246 +74,0.027456343048310416,198.6844338585479 diff --git a/tests/data/reference/test_tidal_run/debug_tide_Q1_0.csv b/tests/data/reference/test_tidal_run/debug_tide_Q1_0.csv index c1ab3189..f3f96607 100644 --- a/tests/data/reference/test_tidal_run/debug_tide_Q1_0.csv +++ b/tests/data/reference/test_tidal_run/debug_tide_Q1_0.csv @@ -1,76 +1,76 @@ -,0,1 -0,-72.9240934829,40.7116348764 -1,-72.9182196345,40.6928637246 -2,-72.9116102699,40.6743429718 -3,-72.9036453737,40.6563677493 -4,-72.8960916435,40.6382202011 -5,-72.8867266397,40.6209275506 -6,-72.8765730476,40.6040818795 -7,-72.8660226585,40.5874846996 -8,-72.854776351,40.5713483307 -9,-72.8431125365,40.5555114885 -10,-72.8304385128,40.5404900942 -11,-72.8172274621,40.5259344624 -12,-72.8032999472,40.5121450904 -13,-72.7883340812,40.4994234148 -14,-72.773821582,40.4861593774 -15,-72.7583103216,40.4740722613 -16,-72.7423159764,40.462624285 -17,-72.7261905835,40.4513619685 -18,-72.708748632,40.4424216046 -19,-72.6914177581,40.4332598761 -20,-72.6737540478,40.4247592382 -21,-72.6556641338,40.4170658935 -22,-72.6375908484,40.4093120901 -23,-72.6189166534,40.4031691314 -24,-72.5998058983,40.3985309846 -25,-72.5807659304,40.3936131677 -26,-72.5613889486,40.3903742323 -27,-72.541839976,40.3882041062 -28,-72.522328501,40.3857263226 -29,-72.5027034706,40.3845490461 -30,-72.4830356451,40.3844650149 -31,-72.4633680739,40.3846270726 -32,-72.4438828325,40.3871719023 -33,-72.4242743815,40.3885857929 -34,-72.4047036057,40.3905071396 -35,-72.3855205877,40.3947870163 -36,-72.3671792974,40.4018522168 -37,-72.3480395416,40.4063066972 -38,-72.3293679321,40.4124597013 -39,-72.3112696477,40.4201546677 -40,-72.2928386727,40.4270147109 -41,-72.2751875267,40.4356792198 -42,-72.257989924,40.4452183456 -43,-72.241568628,40.4560392341 -44,-72.2256468677,40.4675867657 -45,-72.2094226009,40.4787029072 -46,-72.1940643204,40.4909829874 -47,-72.1797315575,40.5044499556 -48,-72.1657396535,40.5182687922 -49,-72.1509909829,40.5312529299 -50,-72.1386682155,40.5465778203 -51,-72.1265713723,40.5620871889 -52,-72.1144881059,40.5776067076 -53,-72.1030792968,40.5936158114 -54,-72.0933757567,40.6107233574 -55,-72.0841499692,40.6280922483 -56,-72.0759694202,40.6459731045 -57,-72.0683638578,40.6640986447 -58,-72.0598868149,40.68183042 -59,-72.0534794919,40.7004219801 -60,-72.0477220345,40.7192253755 -61,-72.0433208231,40.7382898205 -62,-72.0414096174,40.7578028099 -63,-72.0371130643,40.776989986 -64,-72.0346858872,40.7964923293 -65,-72.0334145465,40.8161166979 -66,-72.0325120636,40.8357519077 -67,-72.0327867472,40.8554188356 -68,-72.0333771409,40.8750775725 -69,-72.0356475499,40.8945960472 -70,-72.0383639854,40.9140633429 -71,-72.0419219761,40.9333711002 -72,-72.0469687227,40.9523807323 -73,-72.0521937363,40.9713426805 -74,-72.0576782709,40.9902316949 +,amp,phase +0,0.011389340139960636,183.69893492914088 +1,0.012108582332645336,173.35295254644657 +2,0.01207894915642576,173.3604895643633 +3,0.012050188827853777,173.3666119089075 +4,0.01202115277842473,173.37644556766523 +5,0.011993484525173324,173.35384201442275 +6,0.011982007544514804,173.25291887126158 +7,0.01197717013148988,173.15563342799658 +8,0.011973258086100714,173.05834528903284 +9,0.011969919667124459,172.96060842393126 +10,0.011968041772435375,172.86210509959096 +11,0.011966966108581225,172.76330791870356 +12,0.011967076622795818,172.66462864619103 +13,0.01196979450884385,172.5660617938379 +14,0.011992015716932038,172.46924840811505 +15,0.01201409439707614,172.36574857647582 +16,0.012029901020321754,172.263645040121 +17,0.012038910864929283,172.16711694252803 +18,0.012046063149228329,172.07489534762158 +19,0.012053392525038483,171.98221467934772 +20,0.012060193028873017,171.89122312377444 +21,0.012066347698763455,171.80484183939998 +22,0.012072550735567771,171.7182644283701 +23,0.012077465097841071,171.6369190746529 +24,0.012081175611742443,171.56142798477163 +25,0.012085109861510443,171.48500534637986 +26,0.012087701007359338,171.41443512769135 +27,0.01208943710658366,171.34771664839806 +28,0.01209141933157326,171.27985389390022 +29,0.012086884696697844,171.22024693296157 +30,0.0120984278430494,171.16565908486922 +31,0.012113902592931514,171.11133029883032 +32,0.012125419047548595,171.06837731194685 +33,0.012138843570585913,171.01992233669992 +34,0.012151426024506386,170.9738868168577 +35,0.012159924628081456,170.9396917375441 +36,0.01216329333630879,170.93244099989022 +37,0.012171477964503345,170.92825369960002 +38,0.012176570440686747,170.92652693601752 +39,0.012178737119900465,170.93095907592095 +40,0.012182505827186331,170.9303175175872 +41,0.012182763529500568,170.94076302874294 +42,0.012181259011815378,170.95673352258947 +43,0.012170337539830926,170.99181559193104 +44,0.01215186150689106,171.0413203429424 +45,0.01213407569745294,171.11609677997538 +46,0.012114427587870855,171.2096794449851 +47,0.01209644042038477,171.2870037437159 +48,0.012085385361647712,171.31697921454918 +49,0.01207499806139382,171.34166642676186 +50,0.012062738160765783,171.34827532864216 +51,0.012050330677718492,171.35502368219844 +52,0.012037915074598948,171.35673438806091 +53,0.012025107803772923,171.3583966650408 +54,0.012011421780024945,171.36176539706688 +55,0.01199752668055636,171.35791751892148 +56,0.011983222009238365,171.31834981804542 +57,0.01196872159090706,171.2786803129833 +58,0.01195453618419533,171.23920909354743 +59,0.011939662950299561,171.20292324866566 +60,0.011924620248325413,171.16706562203308 +61,0.011909368706870432,171.131399517146 +62,0.01188751601385734,171.0980117220144 +63,0.011856816378391479,171.06678457802195 +64,0.011825612472880848,171.03597563769858 +65,0.0117942133259127,171.005535995433 +66,0.011762796832937697,170.97525691887142 +67,0.011741894046913566,170.9264793816394 +68,0.01172673228707225,170.869740418445 +69,0.011736355994974317,171.31726733402132 +70,0.011746316052155675,171.76318691542141 +71,0.01175688553755583,172.20462286573462 +72,0.01176852677657386,172.63776085228494 +73,0.011780291555514091,173.06962907056018 +74,0.011792234777564121,173.49956776121184 diff --git a/tests/data/reference/test_tidal_run/debug_tide_S2_0.csv b/tests/data/reference/test_tidal_run/debug_tide_S2_0.csv index c1ab3189..508daa46 100644 --- a/tests/data/reference/test_tidal_run/debug_tide_S2_0.csv +++ b/tests/data/reference/test_tidal_run/debug_tide_S2_0.csv @@ -1,76 +1,76 @@ -,0,1 -0,-72.9240934829,40.7116348764 -1,-72.9182196345,40.6928637246 -2,-72.9116102699,40.6743429718 -3,-72.9036453737,40.6563677493 -4,-72.8960916435,40.6382202011 -5,-72.8867266397,40.6209275506 -6,-72.8765730476,40.6040818795 -7,-72.8660226585,40.5874846996 -8,-72.854776351,40.5713483307 -9,-72.8431125365,40.5555114885 -10,-72.8304385128,40.5404900942 -11,-72.8172274621,40.5259344624 -12,-72.8032999472,40.5121450904 -13,-72.7883340812,40.4994234148 -14,-72.773821582,40.4861593774 -15,-72.7583103216,40.4740722613 -16,-72.7423159764,40.462624285 -17,-72.7261905835,40.4513619685 -18,-72.708748632,40.4424216046 -19,-72.6914177581,40.4332598761 -20,-72.6737540478,40.4247592382 -21,-72.6556641338,40.4170658935 -22,-72.6375908484,40.4093120901 -23,-72.6189166534,40.4031691314 -24,-72.5998058983,40.3985309846 -25,-72.5807659304,40.3936131677 -26,-72.5613889486,40.3903742323 -27,-72.541839976,40.3882041062 -28,-72.522328501,40.3857263226 -29,-72.5027034706,40.3845490461 -30,-72.4830356451,40.3844650149 -31,-72.4633680739,40.3846270726 -32,-72.4438828325,40.3871719023 -33,-72.4242743815,40.3885857929 -34,-72.4047036057,40.3905071396 -35,-72.3855205877,40.3947870163 -36,-72.3671792974,40.4018522168 -37,-72.3480395416,40.4063066972 -38,-72.3293679321,40.4124597013 -39,-72.3112696477,40.4201546677 -40,-72.2928386727,40.4270147109 -41,-72.2751875267,40.4356792198 -42,-72.257989924,40.4452183456 -43,-72.241568628,40.4560392341 -44,-72.2256468677,40.4675867657 -45,-72.2094226009,40.4787029072 -46,-72.1940643204,40.4909829874 -47,-72.1797315575,40.5044499556 -48,-72.1657396535,40.5182687922 -49,-72.1509909829,40.5312529299 -50,-72.1386682155,40.5465778203 -51,-72.1265713723,40.5620871889 -52,-72.1144881059,40.5776067076 -53,-72.1030792968,40.5936158114 -54,-72.0933757567,40.6107233574 -55,-72.0841499692,40.6280922483 -56,-72.0759694202,40.6459731045 -57,-72.0683638578,40.6640986447 -58,-72.0598868149,40.68183042 -59,-72.0534794919,40.7004219801 -60,-72.0477220345,40.7192253755 -61,-72.0433208231,40.7382898205 -62,-72.0414096174,40.7578028099 -63,-72.0371130643,40.776989986 -64,-72.0346858872,40.7964923293 -65,-72.0334145465,40.8161166979 -66,-72.0325120636,40.8357519077 -67,-72.0327867472,40.8554188356 -68,-72.0333771409,40.8750775725 -69,-72.0356475499,40.8945960472 -70,-72.0383639854,40.9140633429 -71,-72.0419219761,40.9333711002 -72,-72.0469687227,40.9523807323 -73,-72.0521937363,40.9713426805 -74,-72.0576782709,40.9902316949 +,amp,phase +0,0.09553327515059241,52.77163280680925 +1,0.10172760420192177,43.32179108843479 +2,0.10782367729397044,33.99735505522034 +3,0.11371042602831054,24.946330892095403 +4,0.11966297057594734,15.808925966257537 +5,0.12391211829745752,9.174467904620194 +6,0.12364778700640573,9.276304742919516 +7,0.12337757228913306,9.378790244067462 +8,0.12309709766923735,9.477955666046858 +9,0.12280980503395775,9.574979754713745 +10,0.12250637820457749,9.666234848372687 +11,0.1221945035237373,9.754214032356007 +12,0.12187193779426878,9.836883956354256 +13,0.121529555124106,9.911537159014575 +14,0.12110235782200995,9.97672751604498 +15,0.12066916587404729,10.035036026200412 +16,0.12025229858257597,10.091479831144396 +17,0.11985525367851654,10.148876591600173 +18,0.11946209651885319,10.193325960662177 +19,0.11906806829966116,10.23869674282047 +20,0.11865518057329683,10.255583230693958 +21,0.11824447917898727,10.268341599181984 +22,0.11783334494457043,10.28139077711832 +23,0.11743096435731996,10.288935577215142 +24,0.1170389570392557,10.294425828047707 +25,0.1166448395447575,10.301225631843089 +26,0.11626493712518476,10.300234428734143 +27,0.11589483334284108,10.294317363208389 +28,0.11552169763844691,10.289808602509847 +29,0.11517312257359122,10.283763937340439 +30,0.11483615086108948,10.292140574192377 +31,0.1145078099414907,10.290113520481091 +32,0.11421303161560084,10.281429283224936 +33,0.11390170736138203,10.275901822846535 +34,0.11359751148252194,10.26895649763707 +35,0.11333001909109584,10.255438299605574 +36,0.11312483324880045,10.234814130630232 +37,0.11289092689789275,10.222341571916237 +38,0.11268587743765697,10.20511314165876 +39,0.11250927959831121,10.1835672122556 +40,0.11232427886482439,10.171699928923449 +41,0.11218794065208783,10.16849188179047 +42,0.1120700282345199,10.163171764833379 +43,0.1119874711824202,10.147921951416706 +44,0.1119279816454022,10.1248268882167 +45,0.11190478343339287,10.113391529673645 +46,0.11192925136578616,10.104308783789168 +47,0.11194503582629729,10.09543462715704 +48,0.11188782190940484,10.091109520983704 +49,0.11181612234353833,10.087942734998204 +50,0.11178844640815473,10.081357593196394 +51,0.11176462907530871,10.074483594084821 +52,0.11176626600711466,10.064229257034274 +53,0.11178113454317032,10.052879379472751 +54,0.11179116140043002,10.05819513548527 +55,0.11179000463569962,10.076246521371214 +56,0.11179075419701215,10.109605088213943 +57,0.11179865809697463,10.142540868131887 +58,0.11179560853706137,10.17608812343475 +59,0.11180884756390824,10.202156409177572 +60,0.11180791547628055,10.213764389281867 +61,0.11181845991150556,10.221512223109237 +62,0.11180630542035631,10.229671130148663 +63,0.11171053395947052,10.25551628215456 +64,0.11163815439941774,10.298077906651823 +65,0.11158190266544027,10.354215262428736 +66,0.11152828069347687,10.40866887168446 +67,0.11148305821192102,10.457741627357029 +68,0.11144475182545356,10.515074728270626 +69,0.11257755578907079,13.006808428870947 +70,0.11371064370950866,15.489911419139842 +71,0.11484066523923157,17.948656771400564 +72,0.1159643530645285,20.362274647464282 +73,0.11708659689473966,22.768952288922204 +74,0.11820653746506798,25.165075640160495 diff --git a/tests/test_tidal_run.py b/tests/test_tidal_run.py index 3f325370..c6ccc295 100644 --- a/tests/test_tidal_run.py +++ b/tests/test_tidal_run.py @@ -56,7 +56,7 @@ def test_tidal_run(shinnecock_mesh_directory): df_verts.to_csv(output_directory / f'debug_bnd_{constituent}_{index}.csv') amp, phase = mesh.forcings.tides.tidal_dataset(constituent, vertices) df_tide = pd.DataFrame({'amp': amp, 'phase': phase}) - df_verts.to_csv(output_directory / f'debug_tide_{constituent}_{index}.csv') + df_tide.to_csv(output_directory / f'debug_tide_{constituent}_{index}.csv') check_reference_directory( output_directory,