my $command = qq(ncks -v $variable -d station,$id,$id $file | grep \"station\\[\"); my @output = `$command`;