@@ -240,7 +240,6 @@ def __getitem__(self, item):
240
240
241
241
def check_uri (self , uri ):
242
242
result = False
243
- #print("Checking uri: " + uri)
244
243
if self [uri ].status_code == 200 :
245
244
result = True
246
245
return result
@@ -416,9 +415,6 @@ def rdfnode(self, graph):
416
415
for attr in self .attrs :
417
416
objs = self .attrs [attr ]
418
417
if (isinstance (objs , np .ndarray )):
419
- #print("Found np.ndarray")
420
- #print(objs)
421
- #print(attr)
422
418
#try to convert np.ndarray to a list
423
419
objs = objs .tolist ()
424
420
if not (isinstance (objs , set ) or isinstance (objs , list )):
@@ -575,8 +571,6 @@ def load_netcdf(afilepath, uri=None, baseuri=None):
575
571
if 'rdf__' not in prefixes :
576
572
prefixes ['rdf__' ] = "http://www.w3.org/1999/02/22-rdf-syntax-ns#"
577
573
578
- #print(prefixes)
579
-
580
574
alias_var_name = None
581
575
if hasattr (fhandle , 'bald__isAliasedBy' ):
582
576
alias_var_name = fhandle .bald__isAliasedBy
@@ -603,9 +597,7 @@ def load_netcdf(afilepath, uri=None, baseuri=None):
603
597
root_container .attrs ['bald__contains' ] = []
604
598
file_variables = {}
605
599
for name in fhandle .variables :
606
- #print(name)
607
600
if name == prefix_var_name or name == alias_var_name :
608
- #print("Skipping " + name)
609
601
continue
610
602
611
603
sattrs = fhandle .variables [name ].__dict__ .copy ()
@@ -634,7 +626,6 @@ def load_netcdf(afilepath, uri=None, baseuri=None):
634
626
# cycle again and find references
635
627
for name in fhandle .variables :
636
628
if name == prefix_var_name or name == alias_var_name :
637
- #print("Skipping " + name)
638
629
continue
639
630
640
631
var = file_variables [name ]
0 commit comments