could not generate l3mapgen
could not generate l3mapgen
Dear All
I am running a Batch processing python function on a Linux 32bit machine. I have installed the latest Seadas 7.4 and using the GUI i have installed all the processors along with evaluation data. I installed the required python version 2.7 with updated libraries.
When i run my function it works well until i get the message above.
I am using MODIS aqua level 2 data for a month and want to get daily averages.
Thank you
I am running a Batch processing python function on a Linux 32bit machine. I have installed the latest Seadas 7.4 and using the GUI i have installed all the processors along with evaluation data. I installed the required python version 2.7 with updated libraries.
When i run my function it works well until i get the message above.
I am using MODIS aqua level 2 data for a month and want to get daily averages.
Thank you
Filters:
-
- Subject Matter Expert
- Posts: 269
- Joined: Thu Mar 05, 2009 10:25 am America/New_York
- Been thanked: 2 times
could not generate l3mapgen
Please give me more information about your system. What distribution and version is it? We do still distribute 32bit binaries with 7.4, but the next release will not have 32bit binaries.
What is the command your python function calling and what is the error that is printed?
don
What is the command your python function calling and what is the error that is printed?
don
could not generate l3mapgen
Running Ubuntu 16.04.2 LTS (GNU/Lunix 4.4.0-70-generic i686).
the following commands are not mine so am learning from the code
# new way to make mapped files -- began jan 2016...
# ---
def l3map_gen(product_str, meas_names, bl3_fname, out_file, smi_proj, space_res, input_coords):
print '\n====> running l3mapgen binary <======='
print 'stats = ', meas_names, '\n'
if not os.path.exists(os.path.dirname(out_file)):
os.makedirs(os.path.dirname(out_file))
call(['l3mapgen',
'ifile=' + bl3_fname,
'ofile=' + out_file,
'product=' + product_str,
'deflate=' + '4',
'scale_type=' + 'linear',
'projection=' + smi_proj,
'resolution=' + space_res + 'km',
'interp=' + 'nearest',
'west=' + str(input_coords.west).strip(),
'east=' + str(input_coords.east).strip(),
'north=' + str(input_coords.north).strip(),
'south=' + str(input_coords.south).strip()])
if os.path.exists(out_file):
print '\nwrote file:', out_file
else: print '\ncould not generate l3mapgen file!!!'
the following commands are not mine so am learning from the code
# new way to make mapped files -- began jan 2016...
# ---
def l3map_gen(product_str, meas_names, bl3_fname, out_file, smi_proj, space_res, input_coords):
print '\n====> running l3mapgen binary <======='
print 'stats = ', meas_names, '\n'
if not os.path.exists(os.path.dirname(out_file)):
os.makedirs(os.path.dirname(out_file))
call(['l3mapgen',
'ifile=' + bl3_fname,
'ofile=' + out_file,
'product=' + product_str,
'deflate=' + '4',
'scale_type=' + 'linear',
'projection=' + smi_proj,
'resolution=' + space_res + 'km',
'interp=' + 'nearest',
'west=' + str(input_coords.west).strip(),
'east=' + str(input_coords.east).strip(),
'north=' + str(input_coords.north).strip(),
'south=' + str(input_coords.south).strip()])
if os.path.exists(out_file):
print '\nwrote file:', out_file
else: print '\ncould not generate l3mapgen file!!!'
-
- Subject Matter Expert
- Posts: 269
- Joined: Thu Mar 05, 2009 10:25 am America/New_York
- Been thanked: 2 times
could not generate l3mapgen
How many files are in /home/ubuntu-colors/SOCLIM/requested_files
Were any files produced and placed in /home/ubuntu-colors/SOCLIM/l2_l3output
You are going to have to find the command that is failing in batch_L23. When you get it down to a single command, try that in the shell to figure out what is going on.
don
Were any files produced and placed in /home/ubuntu-colors/SOCLIM/l2_l3output
You are going to have to find the command that is failing in batch_L23. When you get it down to a single command, try that in the shell to figure out what is going on.
don
could not generate l3mapgen
Hi, i have update the commands above.
I have 285 files in the requested folder
In the output folder the daily/mean/ folders for each product are empty
I have 285 files in the requested folder
In the output folder the daily/mean/ folders for each product are empty