Ignore:
Timestamp:
11/06/07 10:36:57 (12 years ago)
Author:
domlowe
Message:

fixing ID/naming issues and paths

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI02-CSML/trunk/csml/API/genSubset.py

    r2567 r2569  
    229229 
    230230def genericSubset(feature, outputdir, ncname, domain, kwargs): 
    231     pathToSubsetNetCDF=outputdir+'/' +ncname 
     231    if outputdir is not None: 
     232        pathToSubsetNetCDF=outputdir+'/' +ncname 
     233    else: 
     234        pathToSubsetNetCDF=ncname 
    232235     
    233236    #deal with longitude requests 
Note: See TracChangeset for help on using the changeset viewer.