Two suspects have appeared in court after police found an extensive cannabis grow containing almost 1,000 plants.