Command Line Tools

LFTP All the Things

A few years ago, I needed to find as much LAS data for wells in Texas as I could. There isn’t much public data available for wells in Texas, but the University of Texas, endowed with a significant land grant, does provide free public access to a lot of wireline log data for wells on their lands. The catch is that it is only accessible via FTP. Now, I love using python for everything as much as the next guy, but sometimes python is not the right tool for the job.

Get one long tiff from a multipage-PDF with these two simple commands

Every once in a while I receive a well log or mud log from a client in multipage-pdf form. In other words, rather than a single, very tall raster image (in tiff format, for example), the image has been cut up into many, say, 8.5x11-inch or A4 pages and saved in pdf format. Instead, I often want a file as a single, long page in tiff format for use in Petra or to send off to a digitizer.