X

NV5 Geospatial Blog

Each month, NV5 Geospatial posts new blog content across a variety of categories. Browse our latest posts below to learn about important geospatial information or use the search bar to find a specific topic or author. Stay informed of the latest blog posts, events, and technologies by joining our email list!



Deploy, Share, Repeat: AI Meets the Analytics Repository

Deploy, Share, Repeat: AI Meets the Analytics Repository

10/13/2025

The upcoming release of ENVI® Deep Learning 4.0 makes it easier than ever to import, deploy, and share AI models, including industry-standard ONNX models, using the integrated Analytics Repository. Whether you're building deep learning models in PyTorch, TensorFlow, or using ENVI’s native model creation tools, ENVI... Read More >

Blazing a trail: SaraniaSat-led Team Shapes the Future of Space-Based Analytics

Blazing a trail: SaraniaSat-led Team Shapes the Future of Space-Based Analytics

10/13/2025

On July 24, 2025, a unique international partnership of SaraniaSat, NV5 Geospatial Software, BruhnBruhn Innovation (BBI), Netnod, and Hewlett Packard Enterprise (HPE) achieved something unprecedented: a true demonstration of cloud-native computing onboard the International Space Station (ISS) (Fig. 1). Figure 1. Hewlett... Read More >

NV5 at ESA’s Living Planet Symposium 2025

NV5 at ESA’s Living Planet Symposium 2025

9/16/2025

We recently presented three cutting-edge research posters at the ESA Living Planet Symposium 2025 in Vienna, showcasing how NV5 technology and the ENVI® Ecosystem support innovation across ocean monitoring, mineral exploration, and disaster management. Explore each topic below and access the full posters to learn... Read More >

Monitor, Measure & Mitigate: Integrated Solutions for Geohazard Risk

Monitor, Measure & Mitigate: Integrated Solutions for Geohazard Risk

9/8/2025

Geohazards such as slope instability, erosion, settlement, or seepage pose ongoing risks to critical infrastructure. Roads, railways, pipelines, and utility corridors are especially vulnerable to these natural and human-influenced processes, which can evolve silently until sudden failure occurs. Traditional ground surveys provide only periodic... Read More >

Geo Sessions 2025: Geospatial Vision Beyond the Map

Geo Sessions 2025: Geospatial Vision Beyond the Map

8/5/2025

Lidar, SAR, and Spectral: Geospatial Innovation on the Horizon Last year, Geo Sessions brought together over 5,300 registrants from 159 countries, with attendees representing education, government agencies, consulting, and top geospatial companies like Esri, NOAA, Airbus, Planet, and USGS. At this year's Geo Sessions, NV5 is... Read More >

1345678910Last
«October 2025»
SunMonTueWedThuFriSat
2829301234
567891011
12131415161718
19202122232425
2627282930311
2345678
20085 Rate this article:
5.0

Implied Print: New Command Line Feature in IDL 8.3

Anonym
As is the case with our customers, those at Exelis use the right tools for the job. When IDL and its Workbench don't yet have some functionality that would make our development efforts most efficient and cost-effective, we'll use a different tool. Not often, but it happens.

Our Professional Services Group, in particular, thrives in mixed-mode environments like this. 

Sometimes we and our customers encounter productivity features in other environments that lead us to ask ourselves, "Wouldn't it be cool if IDL could do this, too?" And sometimes, if the business case can be made for it, the question isn't rhetorical and the reply is a resounding "Yes!"

The "implied print" behavior at the IDL command line is just such a feature that's new to version 8.3.  It incorporates and expands upon some good ideas we've seen. It has been a frequently-requested item from our customers, as well.

Like atmospheric oxygen, once you start using it, you'll wonder how you ever functioned without it. No kidding.

Remember this old saw?

IDL> PRINT, 2 + 2

       4

Well, forget everything you've learned about using PRINT.  Behold implied print:

IDL> 2+2

       4

Not to exaggerate at all, but it's like a lightning bolt overloading all your neurons right now, isn't it? Think of all the years of accumulated effort you've expended typing "PRINT," or worse yet "PRITN" or forgetting the required comma. No more.

Again, not to overstate this at all, but the tyranny of PRINT has been relegated to the dustbin of history.

Here are other examples:

IDL> a = BINDGEN(5)

IDL> a

  0   1   2  3   4

IDL> a[2:4]

  2   3   4

IDL> SIN(a)

      0.00000000      0.84147096      0.90929741      0.14112000     -0.75680250

But wait, there's more! Implied print will automatically display the maximum number of digits of precision for floating-point and double-precision data. Here are some comparisons between the default PRINT behavior (which will not change, to support backward compatibility) and the new implied print behavior:

IDL> print, 1.2345678

      1.23457

IDL> 1.2345678

       1.2345678

IDL> print, !dpi

       3.1415927

IDL> !dpi

      3.1415926535897931

There are new behaviors for string arrays, LISTs, HASHes, and structures, too.

If you write object-oriented code using the IDL_Object superclass, overriding the new _overloadImpliedPrint method will allow you to automatically extend this functionality to your own classes, similar to _overloadPrint . You may choose to have one simply call the other, or differentiate their behaviors. It keeps getting better and better, doesn't it?

This is all well and good at the command line, but what if you prefer this new style of output within an executing application or utility? The FIX, PRINT, and STRING functions all now accept a new IMPLIED_PRINT keyword that will use the same rules for output as implied print.

Yes, it's a revolution and you may have your cake and eat it, too.

Please login or register to post comments.