Skip to content

Commit 67fa3f7

Browse files
committed
DAS-2219 Accidently added test for local development
1 parent dec5951 commit 67fa3f7

1 file changed

Lines changed: 0 additions & 45 deletions

File tree

tests/test_input_file_download.py

Lines changed: 0 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import logging
21
from unittest import TestCase
32

43
from harmony_service_lib.message import Message
@@ -48,47 +47,3 @@ def test_local_file_does_not_exist(self):
4847
)
4948

5049
self.assertEqual(str(context.exception), 'Input file does not exist')
51-
52-
def test_local_tempo_03tot_l2_v2_das_2219(self):
53-
"""Handle a harmony message that refers to a granule local file that
54-
does not exist
55-
56-
"""
57-
reprojector = SwathProjectorAdapter(
58-
Message(
59-
{
60-
"sources": [
61-
{
62-
"collection": "C1270257471-EEDTEST",
63-
"shortName": "TEMPO_O3TOT_L2",
64-
"versionId": "V03",
65-
"coordinateVariables": [],
66-
"visualizations": [],
67-
}
68-
],
69-
"format": {
70-
"crs": "+proj=longlat +datum=WGS84 +no_defs",
71-
"srs": {
72-
"proj4": "+proj=longlat +datum=WGS84 +no_defs",
73-
"wkt": "GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AXIS[\"Latitude\",NORTH],AXIS[\"Longitude\",EAST],AUTHORITY[\"EPSG\",\"4326\"]]",
74-
"epsg": "EPSG:4326",
75-
},
76-
"interpolation": "near",
77-
"mime": "application/netcdf",
78-
},
79-
"subset": {"dimensions": []},
80-
}
81-
),
82-
config=config(False),
83-
)
84-
85-
reprojector.logger.setLevel(logging.DEBUG)
86-
87-
working_filename = reproject(
88-
reprojector.message,
89-
'TEMPO_O3TOT_L2',
90-
'https://harmony.uat.earthdata.nasa.gov/service-results/harmony-uat-eedtest-data/C1270257471-EEDTEST/TEMPO_O3TOT_L2_V03_20230802T151249Z_S001G01.nc',
91-
'/Users/vtran11/Documents/workspace/granules/TEMPO_O3TOT_L2_V03_20230802T151249Z_S001G01.nc',
92-
'/Users/vtran11/Documents/workspace/harmony-swath-projector/tests/output_files/TEMPO_O3TOT_L2',
93-
reprojector.logger,
94-
)

0 commit comments

Comments
 (0)