Helioviewer-Project / jp2gen

IDL based tools to convert FITS data into JPEG2000 files for use with Helioviewer Project clients.
2 stars 5 forks source link

JP2Gen supports Unix-like systems, but does not run on Windows. #34

Open wafels opened 2 years ago

wafels commented 2 years ago

There are many instances in the JP2Gen code where the Unix-like commands are spawned to the command line. Many examples can be found simply by looking through the code for spawn. Many of these commands are to do with file manipulation and movement. The use of Unix-like commands means that the code will not run on Windows systems.

Locations in the code that us Unix-like commands should be edited and replaced with IDL tools that handle different OSs, for example FILE_MKDIR is like mkdir -p. This will enable JP2Gen to be independent of the underlying OS.

Starting with the gen tree is the most important. Other, instruments-specific processing pipelines can be updates as needed.