Reportable Segments and Geographic Information - Schedule of Geographic Data (Details) - USD ($)
$ in Thousands
3 Months Ended 12 Months Ended
Dec. 31, 2016
Sep. 30, 2016
Jun. 30, 2016
Mar. 31, 2016
Dec. 31, 2015
Sep. 30, 2015
Jun. 30, 2015
Mar. 31, 2015
Dec. 31, 2016
Dec. 31, 2015
Dec. 31, 2014
Segment Reporting Information [Line Items]                      
Revenue $ 231,318 $ 229,158 $ 262,147 $ 306,630 $ 398,711 $ 411,173 $ 460,781 $ 519,820 $ 1,029,253 $ 1,790,485 $ 2,101,663
Property, plant and equipment, net 797,809       858,188       797,809 858,188 908,590
U.S.                      
Segment Reporting Information [Line Items]                      
Revenue                 335,268 858,409 1,051,824
Property, plant and equipment, net 84,669       90,976       84,669 90,976 87,093
United Arab Emirates                      
Segment Reporting Information [Line Items]                      
Revenue                 137,247 135,623 131,392
Argentina                      
Segment Reporting Information [Line Items]                      
Revenue                 151,374 172,004 172,492
Property, plant and equipment, net 222,548       239,226       222,548 239,226 246,410
Brazil                      
Segment Reporting Information [Line Items]                      
Revenue                 85,831 68,578 91,433
Property, plant and equipment, net 157,139       128,032       157,139 128,032 119,795
Mexico                      
Segment Reporting Information [Line Items]                      
Revenue                 90,876 125,972 119,953
Property, plant and equipment, net 167,279       198,641       167,279 198,641 238,661
Other international                      
Segment Reporting Information [Line Items]                      
Revenue                 228,657 429,899 534,569
Property, plant and equipment, net $ 166,174       $ 201,313       $ 166,174 $ 201,313 $ 216,631