From c9ae1691036e26d35d2e727a66af8d235346b043 Mon Sep 17 00:00:00 2001 From: SorooshMani-NOAA Date: Wed, 31 Jul 2024 16:40:26 -0400 Subject: [PATCH] Ref files for debugging CI on mac --- .../reference/test_tidal_run/bnd_K1_0.csv | 76 +++++++++++++++++++ .../reference/test_tidal_run/bnd_K2_0.csv | 76 +++++++++++++++++++ .../reference/test_tidal_run/bnd_M2_0.csv | 76 +++++++++++++++++++ .../reference/test_tidal_run/bnd_N2_0.csv | 76 +++++++++++++++++++ .../reference/test_tidal_run/bnd_O1_0.csv | 76 +++++++++++++++++++ .../reference/test_tidal_run/bnd_P1_0.csv | 76 +++++++++++++++++++ .../reference/test_tidal_run/bnd_Q1_0.csv | 76 +++++++++++++++++++ .../reference/test_tidal_run/bnd_S2_0.csv | 76 +++++++++++++++++++ tests/test_tidal_run.py | 8 ++ 9 files changed, 616 insertions(+) create mode 100644 tests/data/reference/test_tidal_run/bnd_K1_0.csv create mode 100644 tests/data/reference/test_tidal_run/bnd_K2_0.csv create mode 100644 tests/data/reference/test_tidal_run/bnd_M2_0.csv create mode 100644 tests/data/reference/test_tidal_run/bnd_N2_0.csv create mode 100644 tests/data/reference/test_tidal_run/bnd_O1_0.csv create mode 100644 tests/data/reference/test_tidal_run/bnd_P1_0.csv create mode 100644 tests/data/reference/test_tidal_run/bnd_Q1_0.csv create mode 100644 tests/data/reference/test_tidal_run/bnd_S2_0.csv diff --git a/tests/data/reference/test_tidal_run/bnd_K1_0.csv b/tests/data/reference/test_tidal_run/bnd_K1_0.csv new file mode 100644 index 00000000..c1ab3189 --- /dev/null +++ b/tests/data/reference/test_tidal_run/bnd_K1_0.csv @@ -0,0 +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 diff --git a/tests/data/reference/test_tidal_run/bnd_K2_0.csv b/tests/data/reference/test_tidal_run/bnd_K2_0.csv new file mode 100644 index 00000000..c1ab3189 --- /dev/null +++ b/tests/data/reference/test_tidal_run/bnd_K2_0.csv @@ -0,0 +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 diff --git a/tests/data/reference/test_tidal_run/bnd_M2_0.csv b/tests/data/reference/test_tidal_run/bnd_M2_0.csv new file mode 100644 index 00000000..c1ab3189 --- /dev/null +++ b/tests/data/reference/test_tidal_run/bnd_M2_0.csv @@ -0,0 +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 diff --git a/tests/data/reference/test_tidal_run/bnd_N2_0.csv b/tests/data/reference/test_tidal_run/bnd_N2_0.csv new file mode 100644 index 00000000..c1ab3189 --- /dev/null +++ b/tests/data/reference/test_tidal_run/bnd_N2_0.csv @@ -0,0 +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 diff --git a/tests/data/reference/test_tidal_run/bnd_O1_0.csv b/tests/data/reference/test_tidal_run/bnd_O1_0.csv new file mode 100644 index 00000000..c1ab3189 --- /dev/null +++ b/tests/data/reference/test_tidal_run/bnd_O1_0.csv @@ -0,0 +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 diff --git a/tests/data/reference/test_tidal_run/bnd_P1_0.csv b/tests/data/reference/test_tidal_run/bnd_P1_0.csv new file mode 100644 index 00000000..c1ab3189 --- /dev/null +++ b/tests/data/reference/test_tidal_run/bnd_P1_0.csv @@ -0,0 +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 diff --git a/tests/data/reference/test_tidal_run/bnd_Q1_0.csv b/tests/data/reference/test_tidal_run/bnd_Q1_0.csv new file mode 100644 index 00000000..c1ab3189 --- /dev/null +++ b/tests/data/reference/test_tidal_run/bnd_Q1_0.csv @@ -0,0 +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 diff --git a/tests/data/reference/test_tidal_run/bnd_S2_0.csv b/tests/data/reference/test_tidal_run/bnd_S2_0.csv new file mode 100644 index 00000000..c1ab3189 --- /dev/null +++ b/tests/data/reference/test_tidal_run/bnd_S2_0.csv @@ -0,0 +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 diff --git a/tests/test_tidal_run.py b/tests/test_tidal_run.py index c6e80396..53629467 100644 --- a/tests/test_tidal_run.py +++ b/tests/test_tidal_run.py @@ -5,6 +5,7 @@ import sys import pytest +import pandas as pd from adcircpy.cmd import tidal_run from adcircpy.driver import AdcircRun @@ -48,6 +49,13 @@ def test_tidal_run(shinnecock_mesh_directory): else: driver.write(output_directory, nproc=2, overwrite=True) + for constituent in mesh.forcings.tides.get_active_constituents(): + for index, row in mesh.boundaries.ocean.gdf.iterrows(): + df_verts = pd.DataFrame( + mesh.get_xy(crs='EPSG:4326').iloc[row.indexes, :].values + ) + df_verts.to_csv(output_directory / f'bnd_{constituent}_{index}.csv') + check_reference_directory( output_directory, reference_directory,